Skip to main content
POST
/
organizations
/
integrations
/
secrets
/
{scope_type}
/
{scope_id}
/
{name}
/
rotate
Rotate a sealed integration secret
curl --request POST \
  --url https://api.ilyama.golain.io/core/api/v1/organizations/integrations/secrets/{scope_type}/{scope_id}/{name}/rotate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'ORG-ID: <api-key>' \
  --data '{}'
{
  "data": "<unknown>",
  "meta": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.ilyama.golain.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ORG-ID
string
header
required

Path Parameters

scope_type
string
required
scope_id
string
required
name
string
required

Body

application/json

The body is of type object.

Response

Secret rotated

Preferred shape for successful JSON responses is { ok, data, meta } with list metadata (e.g. pagination totals) in top-level meta, not nested under data.

data
any | null
required

Response payload; may be null for no-content successes.

meta
any | null
required

Top-level metadata (e.g. pagination); null when unused.

ok
enum<integer>
required
Available options:
1