Skip to main content
Manage your organization’s team members programmatically. All team management endpoints require an org:admin role.
Prefer to work in the dashboard? See Invite Team Members for the UI walkthrough.
scaling.cloud has two roles:
  • org:admin — Full access to all settings, including inviting and removing members, managing roles, and configuring escalation policies and on-call schedules.
  • org:member — Can view and manage incidents but cannot access team or organization settings.
Every organization must have at least one admin.
1

Invite a member

Send a POST request to /api/team/members/invite with the invitee’s email address and desired role.
A successful response returns the invitation:
The invitee receives an email with a link to accept the invitation and join your organization. The invitation stays in pending status until they accept or you revoke it.
2

List members and pending invitations

Send a GET request to /api/team/members to see all current members and outstanding invitations in a single response.
3

Update a member's role

Send a PATCH request to /api/team/members/{userId}/role to promote or demote a member. Replace {userId} with the member’s user ID from the list response.
The response confirms the updated role:
Admins cannot change their own role or remove themselves from the organization. These actions must be performed by another admin. Attempting to do so returns a 400 error.
4

Revoke a pending invitation

If you need to cancel an invitation before it’s accepted, send a DELETE request to /api/team/members/invitations/{invitationId}. Replace {invitationId} with the ID from the invitation list.
The invitation link in the invitee’s email will no longer work after revocation.
5

Remove a member

Send a DELETE request to /api/team/members/{userId} to remove an existing member from your organization. This immediately revokes their access.
The removed member will lose access to all incidents, schedules, and settings immediately. Their historical activity (such as incident status changes they made) is preserved.