Activities API
POST/api/v1/activities/groups/items
Product availabilityAlgaPSA

Move an activity into a group

Moves an activity into one of the caller's custom groups at the given position (`sortOrder`), removing it from any other group first so an activity belongs to at most one group. Rows at/after the index are shifted to keep ordering dense. Scoped to the caller's own groups; gated by `user_schedule:read`.

Request body

Content type: application/json · schema MoveActivityToGroupBodyV1

activityIdstringRequired
min length 1
activityTypestringRequired
min length 1
groupIdstringRequired
min length 1
sortOrderintegerRequired
≥ 0

Response codes

200
Activity moved.
400
Invalid request body.
401
Authentication required.
403
Permission denied (user_schedule:read).
404
Target group not found.
500
Unexpected failure moving the activity.