Sandbox service access

POST /projects/{project_id}/sandboxes/{sandbox_id}/service-grants

Changed on

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

sandbox_idstring required

Opaque sandbox ID

Request body

service_idstring required
service_versioninteger required
ttl_secondsinteger required

Absolute expiry is calculated at creation, even if the broker is unavailable.

Response

Success

connectedboolean required

True only for a current, live acknowledgment of this exact grant.

created_atstring date-time required
enforcement'not_requested' | 'pending' | 'active' | 'stopping' | 'stopped' required

Observed worker enforcement, independent of the requested authorization.

expires_atstring date-time required
idstring required
reasonstring required
revoked_atstring date-time nullable
sandbox_idstring required
service_idstring required
service_namestring required
service_versioninteger required
status'pending_approval' | 'approved' | 'integration_unavailable' | 'expired' | 'revoked' | 'service_disabled' | 'policy_changed' required
versioninteger required

Changes