Set Activity Type
PUT /Activities/{activityId}/type
/Activities/{activityId}/typeSets or clears the activity's type (activityTypeId null clears). Values, overrides and slots are kept; values the new type does not place are hidden, not deleted. 400 when the type is archived, not in the organization, or not offered on this calendar (Event for an event activity, Org for an org activity); the event type's allowlist does not refuse. Adding or removing an event collaborator through the role reconcile needs Activity.Edit for that collaborator, unless the caller holds Activity.Edit at the event. Returns 200 with no body. Type ids come from Activities_GetActivityTypeOptions. Needs Activity.Edit on the activity. A write that meets the gate of a never-activated Draft moves it to Tentative, so state and activatedAt may change.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| activityId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| activityTypeId | uuid | Optional |