Skip to main content
POST
/
api
/
instances
/
{id}
/
secrets
Grant a secret to an instance
curl --request POST \
  --url https://operator.io/api/instances/{id}/secrets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "secretId": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

API key (ck_live_...). Create one in Settings > API Keys.

Path Parameters

id
string
required

Body

application/json
secretId
string
required

Response

201 - application/json

Granted.

The response is of type object.