Sandbox service access

PUT /projects/{project_id}/access-services/{service_id}

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

service_idstring required

Service ID

Request body

clear_credentialboolean
credentialstring password nullable

A credential. Write-only: it is never returned, and the AI assistant supplies it through a secret slot instead of typing it into the conversation.

enabledboolean required

Allows requests to be saved; does not enable a network connection.

expected_versioninteger nullable

Required for updates; omit for creation.

max_ttl_secondsinteger required

Maximum lifetime of a request, between 60 and 86400 seconds.

namestring required
vault_idstring nullable

Add a newly created service to this vault in the same transaction.

Response

Success

created_atstring date-time required
enabledboolean required
has_credentialboolean required
idstring required
max_ttl_secondsinteger required
namestring required
project_idinteger nullable
updated_atstring date-time required
versioninteger required

Changes

    • breaking

      the response property project_id became nullable for the status

    • breaking

      the response property project_id became optional for the status

    • info

      added the new optional request property policy/delivery

    2 more changes in this revision