Changing a role to or from admin is not permitted via the API. Manage admins in Settings → Team members.
Explore documentation
Update team member role
Changes a team member's role. Reference the target role by its ID, which you can get from the List roles API.
Authenticate with a global API token (pass team_name to choose the team) or an Uptime API token (already scoped to its team).
Organization-wide roles (admin and billing_admin) apply across every team in the organization, so assigning billing_admin updates the member in all of their teams. See Manage roles
for what each role can access.
Assigning a role the member already has is a no-op that still returns 200 with the member, so this endpoint is safe to call repeatedly — for example from an automation that syncs roles on every on-call rotation change.
URL parameters
The ID of the role to assign, as returned by the List roles API. Custom roles are supported. The response returns role as custom for a custom role.
Query parameters
Required if using a global API token to specify the team. Ignored for team-scoped Uptime API tokens.
Headers
Bearer $TOKEN
The role was changed (or already matched). Returns the updated team member.
Response body
Authentication failed due to a missing or invalid token.
Response body
The API token is read-only.
Response body
The target role is admin.
Response body
The team member currently has the admin role.
Response body
No role with the given ID exists in the organization.
Response body
The team member with the specified ID was not found in the team.
Response body
Another role change for this user is already in progress.
Response body
Example cURL