Deployments.ai Docs
System

Close your operator access to an organization

DELETE /v1/system/organizations/{organizationId}/operator-access · SDK closeSystemOrganizationAccess · CLI deployments system access-close

DELETE
/v1/system/organizations/{organizationId}/operator-access

Requires platform:admin.

Authorization

tenantJwt
headerAuthorizationBearer <token>

Tenant JWT carrying organization, project, and environment claims.

Path Parameters

organizationId*string

Organization whose data the caller needs operator access to.

Match^[0-7][0-9A-HJKMNP-TV-Z]{25}$

Response Body

CloseSystemOrganizationAccessResponse

application/json
  1. response
access*|null
changed*boolean

false when no access was open, so nothing was written.

curl -X DELETE "https://example.com/v1/system/organizations/string/operator-access"
{  "access": {    "closedAt": "2019-08-24T14:15:22Z",    "expiresAt": "2019-08-24T14:15:22Z",    "grantId": "string",    "openedAt": "2019-08-24T14:15:22Z",    "organizationId": "string",    "principalId": "string",    "reason": "string",    "status": "closed",    "ticket": "string"  },  "changed": true}