v2

latestSwagger 2.02026-07-26109144190.4 KB
Rotations

Update a rotation group

Update the label of a rotation group.

This API may be called a maximum of 2 times per second.

put/api-public/v1/teams/{team}/rotations/{groupId}

Path parameters

teamstring required

The team slug

groupIdinteger required

The rotation group ID

Query parameters

skipinteger

Number of weeks to skip for the on-call period preview

countinteger

Number of weeks to show for the on-call period preview

Headers

X-VO-Api-Idstring required

Your API ID

X-VO-Api-Keystring required

Your API Key

Request body

labelstring required

The new name for the rotation group

Response

The updated rotation group with its shifts

orgslugstring

The organization slug

teamslugstring

The team slug

idinteger

The rotation group ID

labelstring

The name of the rotation group