Skip to content

Organization & Users

MethodPathDescriptionScope
GET/api/v1/orgRead org.admin
PATCH/api/v1/orgUpdate org metadata.admin
GET/api/v1/org/settingsRead org settings.admin
PUT/api/v1/org/settingsReplace org settings.admin
POST/api/v1/org/transfer-ownershipTransfer ownership to another user.admin
{
"id": "01HXORG...",
"slug": "example",
"name": "Example, Inc.",
"plan": "pro",
"seat_count": 23,
"created_at": "2024-06-01T00:00:00Z"
}

The slug is immutable; it’s the prefix on public URLs (status pages, event-ingest tokens). Contact support to change it.

Org settings hold broad configuration: notification defaults, retention windows, SSO options, CloudEvents ingest auth. Read the full document with GET /org/settings, replace wholesale with PUT.

MethodPathDescriptionScope
GET/api/v1/usersList users.admin
GET/api/v1/users/{id}Read a user.admin
POST/api/v1/usersInvite a user.admin
PATCH/api/v1/users/{id}Update user (role, status).admin
DELETE/api/v1/users/{id}Remove a user.admin
POST/api/v1/users/{id}/reset-passwordTrigger a password-reset email.admin
POST /api/v1/users
{
"email": "[email protected]",
"role": "member",
"team_ids": ["01HXTEAM..."]
}
roleGrants
ownerAll admin + billing + destructive org operations. One owner per org.
adminManage users, teams, settings, API keys.
memberStandard access. Can manage monitors, alerts, etc. scoped by team membership.
viewerRead-only across the org.

The invitee receives an email with a link; they set their own password and MFA before first login.

MethodPathDescriptionScope
GET/api/v1/org/api-keysList keys (metadata only; values are never returned after creation).admin
POST/api/v1/org/api-keysCreate a key.admin
DELETE/api/v1/org/api-keys/{id}Revoke a key.admin
POST /api/v1/org/api-keys
{
"name": "CI pipeline",
"scopes": ["monitors", "alerts"],
"expires_at": "2027-04-24T00:00:00Z"
}

Response 201 Created:

{
"id": "key_01HX...",
"name": "CI pipeline",
"scopes": ["monitors", "alerts"],
"prefix": "yy_live_abCd",
"expires_at": "2027-04-24T00:00:00Z",
"secret": "yy_live_abCdEfGhIjK..."
}

The full secret is returned once. Store it immediately; after this response it can never be retrieved.

POST /api/v1/org/transfer-ownership

{ "new_owner_user_id": "usr_bob" }

The current owner becomes an admin; the named user becomes owner. Requires the caller be the current owner. Irreversible in one call: the new owner must transfer back to undo.