FruxonDocs
ApiTrust anchors

Updates a trust anchor's mutable fields; sending a secret rotates it.

Applies a partial update without changing the anchor kind. For HMAC anchors, supplying a secret rotates it immediately; for OIDC anchors, issuer and audience changes affect subsequent token verification as soon as the update completes.

PATCH
/v1/tenants/{tenant}/trustAnchors/{trustAnchor}
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

trustAnchor*string

The anchor id.

Formatuuid
tenant*string

The tenant identifier

The fields to change; the kind never changes.

name?string|null
secret?string|null
issuer?string|null
audience?string|null
environmentClaim?string|null
allowedSignInProviders?|null
[key: string]?never

Response Body

curl -X PATCH "https://api.fruxon.com/v1/tenants/string/trustAnchors/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "name": "string",
  "kind": "HMAC_SECRET",
  "hasSecret": false,
  "issuer": "string",
  "audience": "string",
  "environmentClaim": "string",
  "allowedSignInProviders": [
    "string"
  ],
  "createdAt": 0,
  "modifiedAt": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}