← Arcade 1.9.8

openapi/coordinator.yaml

Download

Arcade Coordinator API

Version 0.1.0OpenAPI 3.0.0

Public API surface of the Arcade Coordinator service.

Arcade Cloud base URL: https://cloud.arcade.dev— a self-hosted install serves the same paths from its own host.

Bearer: Enter your API key or API token in the format: Bearer <token>

Audit Logs

Query audit log events for organizations and projects.
GET/api/v1/orgs/{organization_id}/audit_logsList organization audit logs

Query audit logs for an organization with cursor-based pagination.

Optionally filter by action, source, resource type, and time range.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

actionquerystring

Filter by audit action. Known values: AUDIT_ACTION_CREATED, AUDIT_ACTION_UPDATED, AUDIT_ACTION_DELETED, AUDIT_ACTION_DISABLED.

sourcequerystring

Filter by audit source. Known values: AUDIT_SOURCE_API, AUDIT_SOURCE_DASHBOARD, AUDIT_SOURCE_CLI, AUDIT_SOURCE_SDK, AUDIT_SOURCE_SYSTEM.

resource_typequerystring

Filter by resource type. Examples: gateway, secret, worker, api_key, project, etc.

start_timequerystring(date-time)

Inclusive lower bound for event timestamp (ISO 8601).

end_timequerystring(date-time)

Exclusive upper bound for event timestamp (ISO 8601).

cursorquerystring

Opaque pagination cursor returned by a previous response.

limitqueryinteger

Number of results per page (1--100).

Default: 50

Responses

200OK
application/jsonAuditLogListEnvelope
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*AuditLogListResponse
400Bad Request
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller is not a member of the organization
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

429Rate limit exceeded (100 req / 60 s)
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

GET/api/v1/orgs/{organization_id}/projects/{project_id}/audit_logsList project audit logs

Query audit logs for a specific project with cursor-based pagination.

Optionally filter by action, source, resource type, and time range.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

project_id*pathstring(uuid)

Project ID (UUID).

actionquerystring

Filter by audit action. Known values: AUDIT_ACTION_CREATED, AUDIT_ACTION_UPDATED, AUDIT_ACTION_DELETED, AUDIT_ACTION_DISABLED.

sourcequerystring

Filter by audit source. Known values: AUDIT_SOURCE_API, AUDIT_SOURCE_DASHBOARD, AUDIT_SOURCE_CLI, AUDIT_SOURCE_SDK, AUDIT_SOURCE_SYSTEM.

resource_typequerystring

Filter by resource type. Examples: gateway, secret, worker, api_key, project, etc.

start_timequerystring(date-time)

Inclusive lower bound for event timestamp (ISO 8601).

end_timequerystring(date-time)

Exclusive upper bound for event timestamp (ISO 8601).

cursorquerystring

Opaque pagination cursor returned by a previous response.

limitqueryinteger

Number of results per page (1--100).

Default: 50

Responses

200OK
application/jsonAuditLogListEnvelope
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*AuditLogListResponse
400Bad Request
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller is not a member of the organization or project
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

429Rate limit exceeded (100 req / 60 s)
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

Projects

Create and manage projects within an organization.
GET/api/v1/orgs/{organization_id}/projectsList all projects

Get all projects the caller has access to within an organization.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

Responses

200OK
application/jsonListProjectsResponse
FieldTypeDescription
items*array of ProjectResponse
count*integer

Total number of items.

total_countinteger

Total number of items.

400Bad Request
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller is not a member of the organization
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

POST/api/v1/orgs/{organization_id}/projectsCreate a new project

Create a new project within an organization.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

Request body*

application/jsonCreateProjectInput
FieldTypeDescription
name*string

Project name.

descriptionstring | null

Project description.

image_urlstring(uri) | null

Project image URL.

colorstring | null

Project color (hex, 6 characters).

Responses

200Created
application/jsonProjectResponseEnvelope
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*ProjectResponse
400Bad Request
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller is not an organization owner
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

GET/api/v1/orgs/{organization_id}/projects/{project_id}Get project details

Get details for a specific project.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

project_id*pathstring(uuid)

Project ID (UUID).

Responses

200OK
application/jsonProjectResponseEnvelope
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*ProjectResponse
400Bad Request
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller is not a member of the project
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- project not found
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

PUT/api/v1/orgs/{organization_id}/projects/{project_id}Update project

Update project details (name, description, image, color).

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

project_id*pathstring(uuid)

Project ID (UUID).

Request body*

application/jsonUpdateProjectInput
FieldTypeDescription
namestring | null

Project name.

descriptionstring | null

Project description.

image_urlstring(uri) | null

Project image URL.

colorstring | null

Project color (hex, 6 characters).

Responses

200Updated
application/jsonProjectResponseEnvelope
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*ProjectResponse
400Bad Request
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller is not a member of the project
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- project not found
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

DELETE/api/v1/orgs/{organization_id}/projects/{project_id}Delete project

Delete a project from the organization.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

project_id*pathstring(uuid)

Project ID (UUID).

Responses

200Deleted
application/jsonSuccessEnvelope
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
dataobject | null

Payload representing the result of an operation. May be empty for delete/success responses.

400Bad Request
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller is not an organization owner
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- project not found
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

GET/api/v1/orgs/{organization_id}/projects/{project_id}/membersList project members

List all members of a project.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

project_id*pathstring(uuid)

Project ID (UUID).

Responses

200OK
FieldTypeDescription
items*array of ProjectMemberResponse
count*integer

Total number of members.

total_countinteger

Total number of items.

viewer*ProjectMembersViewerResponse
400Bad Request
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller is not a member of the project
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

DELETE/api/v1/orgs/{organization_id}/projects/{project_id}/members/{member_account_id}Remove a member from a project

Remove a member from a project. Organization owners can remove members even if they are not currently members of the project.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

project_id*pathstring(uuid)

Project ID (UUID).

member_account_id*pathstring(uuid)

Account ID of the member to remove.

Responses

204No Content
400Bad Request
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller cannot remove this member
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

RBAC

Role-based access control. Browse the roles catalog, read the caller's effective permissions, list org/project members, and assign, change, or revoke org-level and project-level roles. These routes are gated by the per-organization `operator-authz` feature flag. While the flag is OFF for an organization, every route below except `GET /capabilities` is absent and returns `404`.
POST/api/v1/orgs/{organization_id}/projects/{project_id}/membersAssign an org member to this project at a role

Directly assign an existing organization member to this project at a project-level role. Requires the members_update project permission.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

project_id*pathstring(uuid)

Project ID (UUID).

Request body*

application/jsonMemberAssignRequest
FieldTypeDescription
account_id*string(uuid)

Account ID of the org member to assign.

role*string

Role key to assign. Must be a role whose catalog level matches the endpoint (org-level key for org endpoints, project-level key for project endpoints), else the request is rejected with 422.

Responses

201Created -- the member was assigned to the project.
application/jsonMemberRowEnvelope
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*MemberRow
401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller lacks `members_update` on the project
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- the `operator-authz` flag is OFF, or the org/project is not visible to the caller
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

422Unprocessable Entity -- the role is not a project-level role, or `account_id` is malformed
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

503Service Unavailable -- the policy store could not be reached
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

PUT/api/v1/orgs/{organization_id}/projects/{project_id}/members/{account_id}Change a project member's role

Change the project-level role of an existing project member. Requires the members_update project permission. Re-assigning the role the member already holds is an idempotent success.

Note: organization admins inherit administration over every child project and hold no per-project role binding, so their project role cannot be changed through this endpoint.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

project_id*pathstring(uuid)

Project ID (UUID).

account_id*pathstring(uuid)

Account ID (UUID) of the member whose role is being changed or revoked.

Request body*

application/jsonMemberRoleUpdateRequest
FieldTypeDescription
role*string

New role key. Must match the endpoint's level (org or project), else the request is rejected with 422.

Responses

200OK -- the member's role was changed (or already matched).
application/jsonMemberRowEnvelope
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*MemberRow
401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller lacks `members_update` on the project
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- the `operator-authz` flag is OFF, or the org/project/member is not visible to the caller
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

422Unprocessable Entity -- the role is not a project-level role
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

503Service Unavailable -- the policy store (OpenFGA) could not be reached
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

GET/api/v1/orgs/{organization_id}/projects/{project_id}/assignable-membersList org members assignable to this project

List organization members who are eligible to be assigned to this project. Requires the members_update project permission.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

project_id*pathstring(uuid)

Project ID (UUID).

Responses

200OK
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*AssignableAccountsResponse
401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller lacks `members_update` on the project
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- the `operator-authz` flag is OFF, or the org/project is not visible to the caller
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

GET/api/v1/orgs/{organization_id}/capabilitiesGet the caller's org-level capabilities

Report the caller's effective org-level permissions plus the billing capability block. Mounted regardless of the operator-authz flag: when the flag is OFF the response carries authz.enabled = false with no permissions, so a client can detect the flag state without inferring it from a missing route.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

Responses

200OK
application/jsonOrgCapabilities
FieldTypeDescription
authz*OrgAuthzCapabilities
billing*BillingCapabilities
401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller is not a member of the organization
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- caller is not a member of the organization (flag-OFF)
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

GET/api/v1/orgs/{organization_id}/authz/rolesList roles available in the organization

Return the roles catalog for the organization -- every role key with its display name, level, and the permission bundle it grants. Use a role key from this catalog as the role field when assigning or changing a role.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

Responses

200OK
application/jsonRolesResponseEnvelope
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*RolesResponse
401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller is not a member of the organization
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- the `operator-authz` flag is OFF for this organization
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

GET/api/v1/orgs/{organization_id}/membersList organization members with their org-level role

The organization member directory: every account in the org with its org-level role (or none). Requires the members_read org permission. Results are limit/offset paginated; total_count reports the org-wide member count regardless of the page requested.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

limitqueryinteger

Results per page.

Default: 100
offsetqueryinteger

Rows to skip before the page.

Default: 0

Responses

200OK
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*OrgMembersResponse
401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller lacks `members_read` on the organization
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- the `operator-authz` flag is OFF, or the caller is not a member of the organization
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

422Unprocessable Entity -- `limit` or `offset` is out of range
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

POST/api/v1/orgs/{organization_id}/membersAssign an org-level role

Assign an org-level role (e.g. org_admin) to an organization member. Requires the members_update org permission.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

Request body*

application/jsonMemberAssignRequest
FieldTypeDescription
account_id*string(uuid)

Account ID of the org member to assign.

role*string

Role key to assign. Must be a role whose catalog level matches the endpoint (org-level key for org endpoints, project-level key for project endpoints), else the request is rejected with 422.

Responses

201Created -- the org-level role was assigned.
application/jsonOrgMemberRowEnvelope
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*OrgMemberRow
401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller lacks `members_update` on the organization
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- the `operator-authz` flag is OFF, or the caller is not a member of the organization
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

422Unprocessable Entity -- the role is not an org-level role, or `account_id` is malformed
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

503Service Unavailable -- the policy store (OpenFGA) could not be reached
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

PUT/api/v1/orgs/{organization_id}/members/{account_id}Change an org-level role

Change the org-level role of an organization member. Requires the members_update org permission. Re-assigning the role the member already holds is an idempotent success.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

account_id*pathstring(uuid)

Account ID (UUID) of the member whose role is being changed or revoked.

Request body*

application/jsonMemberRoleUpdateRequest
FieldTypeDescription
role*string

New role key. Must match the endpoint's level (org or project), else the request is rejected with 422.

Responses

200OK -- the member's org-level role was changed (or already matched).
application/jsonOrgMemberRowEnvelope
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*OrgMemberRow
401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller lacks `members_update` on the organization
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- the `operator-authz` flag is OFF, or the org/member is not visible to the caller
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

422Unprocessable Entity -- the role is not an org-level role
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

503Service Unavailable -- the policy store (OpenFGA) could not be reached
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

DELETE/api/v1/orgs/{organization_id}/members/{account_id}Revoke an org-level role binding

Revoke the caller-specified account's org-level role binding. Requires the members_delete org permission. This removes the org-level role only and does not affect legacy organization membership.

Removal is fail-closed: if the policy store cannot be reached the binding is left intact and the request fails with 503 rather than reporting a removal that did not happen.

Authorization: Bearer

Parameters

NameInTypeDescription
organization_id*pathstring(uuid)

Organization ID (UUID).

account_id*pathstring(uuid)

Account ID (UUID) of the member whose role is being changed or revoked.

Responses

204No Content -- the org-level role binding was revoked.
401Unauthorized
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

403Forbidden -- caller lacks `members_delete` on the organization
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

404Not Found -- the `operator-authz` flag is OFF, or the org/member is not visible to the caller
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

503Service Unavailable -- the policy store (OpenFGA) could not be reached
application/jsonErrorEnvelope
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

Schemas

AssignableAccount object
FieldTypeDescription
account_id*string(uuid)

Account ID of the assignable member.

email*string(email)

Email address of the member.

namestring | null

Full name of the member.

AssignableAccountsResponse object
FieldTypeDescription
items*array of AssignableAccount
count*integer

Number of members in this response.

total_count*integer

Total number of assignable members.

AssignableAccountsResponseEnvelope object
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*AssignableAccountsResponse
AuditLogListEnvelope object
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*AuditLogListResponse
AuditLogListResponse object
FieldTypeDescription
items*array of AuditLogResponse
next_cursorstring | null

Cursor to pass as the cursor query parameter for the next page.

has_more*boolean

Whether additional pages exist beyond this one.

AuditLogResponse object
FieldTypeDescription
id*string(uuid)

Internal audit log record ID.

event_id*string(uuid)

Unique event ID assigned at emission time.

timestamp*string(date-time)

When the audited action occurred.

client_ipstring | null

IP address of the caller, if available.

action*string

Audit action (e.g. AUDIT_ACTION_CREATED).

source*string

Origin of the action (e.g. AUDIT_SOURCE_API).

display_name*string

Human-readable name of the caller.

customer_idstring(uuid) | null

Customer ID, if applicable.

organization_id*string(uuid)

Organization the event belongs to.

project_idstring(uuid) | null

Project the event belongs to, if scoped to a project.

principal_id*string

Account ID or API key ID of the caller.

user_idstring | null

User ID for user-account callers.

principal_type*string

Type of principal (e.g. ACCOUNT, API_KEY).

resource_typestring | null

Type of the affected resource (e.g. gateway, secret).

resource_idstring | null

Identifier of the affected resource.

resource_displaystring | null

Human-readable name of the affected resource.

dataobject | null

Structured event payload. Shape depends on the action:

  • created: {"action_type": "created", "data": {...}}
  • updated: {"action_type": "updated", "original": {...}, "updated": {...}}
  • deleted: {"action_type": "deleted", "data": {...}}

Sensitive fields (secrets, tokens) are masked.

created_time*string(date-time)

When the audit log record was persisted.

BillingCapabilities object
FieldTypeDescription
enabled*boolean

Whether billing capabilities are enabled for the caller.

ContainerRef object
FieldTypeDescription
type*RoleLevel
id*string

ID of the org or project the role is held in.

namestring | null

Display name of the container, if available.

CreateProjectInput object
FieldTypeDescription
name*string

Project name.

descriptionstring | null

Project description.

image_urlstring(uri) | null

Project image URL.

colorstring | null

Project color (hex, 6 characters).

ErrorEnvelope object
FieldTypeDescription
code*integer
Example: 400
msg*string
Example: "Bad Request"
dataobject

Optional error details.

ListProjectMembersResponse object
FieldTypeDescription
items*array of ProjectMemberResponse
count*integer

Total number of members.

total_countinteger

Total number of items.

viewer*ProjectMembersViewerResponse
ListProjectsResponse object
FieldTypeDescription
items*array of ProjectResponse
count*integer

Total number of items.

total_countinteger

Total number of items.

MemberActions object
FieldTypeDescription
can_remove*boolean

Whether the caller can remove this member.

cannot_remove_reasonstring | null

Reason why the member cannot be removed, if any.

can_change_role*boolean

Whether the caller can change this member's role.

MemberAssignRequest object
FieldTypeDescription
account_id*string(uuid)

Account ID of the org member to assign.

role*string

Role key to assign. Must be a role whose catalog level matches the endpoint (org-level key for org endpoints, project-level key for project endpoints), else the request is rejected with 422.

MemberProject object
FieldTypeDescription
project_id*string(uuid)

ID of the covered project.

name*string

Display name of the covered project.

MemberRoleUpdateRequest object
FieldTypeDescription
role*string

New role key. Must match the endpoint's level (org or project), else the request is rejected with 422.

MemberRow object
FieldTypeDescription
account_id*string(uuid)

Account ID of the member.

email*string(email)

Email address of the member.

full_namestring | null

Full name of the member.

preferred_namestring | null

Preferred name of the member.

role*RoleRef
actions*MemberActions
MemberRowEnvelope object
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*MemberRow
OrgAuthzCapabilities object
FieldTypeDescription
enabled*boolean

Whether operator RBAC is enabled for this organization.

permissions*array of string

Org-level permission tokens the caller holds.

OrgCapabilities object
FieldTypeDescription
authz*OrgAuthzCapabilities
billing*BillingCapabilities
OrgMemberRow object
FieldTypeDescription
account_id*string(uuid)

Account ID of the member.

email*string(email)

Email address of the member.

namestring | null

Full name of the member.

org_roleRoleRef | null

The member's org-level role, or null if they hold none.

projectsarray of MemberProject

Projects the member effectively covers in this org. An Org Admin covers every project; everyone else covers only projects they hold a direct binding on. Populated on the directory read.

OrgMemberRowEnvelope object
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*OrgMemberRow
OrgMembersResponse object
FieldTypeDescription
items*array of OrgMemberRow
count*integer

Number of members in this response page.

total_count*integer

Total number of members in the organization.

can_invite*boolean

Whether the caller may add a member to the organization (mirrors the POST /orgs/{organization_id}/members gate).

OrgMembersResponseEnvelope object
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*OrgMembersResponse
ProjectMemberResponse object
FieldTypeDescription
account_id*string(uuid)

Account ID of the member.

email*string(email)

Email address of the member.

full_name*string

Full name of the member.

preferred_namestring | null

Preferred name of the member.

actions*object
ProjectMembersViewerResponse object
FieldTypeDescription
can_leaveboolean

Whether the caller can leave the project.

cannot_leave_reasonstring | null

Reason why the caller cannot leave.

can_remove_membersboolean

Whether the caller can remove other members.

ProjectResponse object
FieldTypeDescription
project_id*string(uuid)

Unique project identifier.

organization_id*string(uuid)

Organization the project belongs to.

name*string

Project name.

descriptionstring | null

Project description.

image_urlstring(uri) | null

Project image URL.

colorstring | null

Project color (hex, 6 chars).

is_default*boolean

Whether this is the caller's default project.

created_at*string(date-time)

When the project was created.

ProjectResponseEnvelope object
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*ProjectResponse
RoleCatalogEntry object
FieldTypeDescription
key*string

Opaque role key.

display_name*string

Human-readable role name.

level*RoleLevel
builtin*boolean

Whether this is a built-in role.

editable*boolean

Whether the role's permission bundle can be edited.

invitable*boolean

Whether members can be invited directly at this role.

permissions*array of ScopedPermission
RoleLevel string

The object level a role applies to.

One of: "org", "project"
RoleRef object
FieldTypeDescription
key*string

Opaque role key (e.g. org_admin, project_admin, project_member).

display_name*string

Human-readable role name.

level*RoleLevel
builtin*boolean

Whether this is a built-in role (not a custom org role).

container*ContainerRef
RolesResponse object
FieldTypeDescription
roles*array of RoleCatalogEntry
RolesResponseEnvelope object
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
data*RolesResponse
ScopedPermission object
FieldTypeDescription
token*string

Permission token held by the role, e.g. members_update, audit_logs_read, tools_execute. The same token can exist at both levels, so level disambiguates.

level*RoleLevel
SuccessEnvelope object
FieldTypeDescription
code*integer
Example: 200
msg*string
Example: "Request successful"
dataobject | null

Payload representing the result of an operation. May be empty for delete/success responses.

UpdateProjectInput object
FieldTypeDescription
namestring | null

Project name.

descriptionstring | null

Project description.

image_urlstring(uri) | null

Project image URL.

colorstring | null

Project color (hex, 6 characters).