Docs
Update Activity
PUT /Activities/{activityId}
PUT
/Activities/{activityId}Replaces every field of an organization activity, including its recurrence, locations and participants; to move it in time only, use Activities_UpdateActivityTime. The caller must be an organizer of the activity or an organization admin, and turning an activity global needs the organization activities add permission; needs an organization token and organization basic access.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| activityId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| description | string | Optional | |
| startDateTime | date-time | Optional | |
| endDateTime | date-time | Optional | |
| exactLocation | string | Optional | |
| isGlobal | boolean | Optional | |
| isAllDay | boolean | Optional | |
| recurrenceRules | UpdateActivityRequestRecurrenceRule | Optional | |
| locations | uuid[] | Optional | |
| crewMembers | UpdateActivityRequestActivityParticipant[] | Optional | |
| departments | UpdateActivityRequestActivityParticipant[] | Optional |
UpdateActivityRequestRecurrenceRule
| Field | Type | Description |
|---|---|---|
| frequency | string| null | |
| interval | integer | |
| daysOfWeek | string[]| null | |
| endDate | date-time |
UpdateActivityRequestActivityParticipant
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| isRequired | boolean | |
| role | string| null |