List the platform admin accounts
Returns every platform admin with its role, status, and activation time. Platform admins only.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/admin/admins"{ "data": [ { "id": "string", "email": "string", "displayName": "string", "role": "owner", "status": "active", "createdAt": "string", "activatedAt": "string" } ]}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}Enable or disable a platform permission policy
Toggles one platform policy and records an audit event. Platform admins only; an unknown `policyId` is reported as not found.
Invite a platform admin
Creates or re-enables a platform admin account for an email address and returns it. Platform admins only, and owner-only while the `require-owner-for-admin-invites` policy is on; a request without an email address is rejected as a validation error. Idempotent by email: inviting an address that is already an active admin returns the existing record.