AimableDocs
DocsAPI Reference
PATCH/v1/admin/tenants/{tenant_id}/oidc-provider

Patch Tenant Oidc Provider

Update a tenant's Google OIDC client_id and/or client_secret. Platform admins only — the endpoint mutates arbitrary-tenant OAuth credentials. Providing `client_secret` creates a new encrypted `secret` row and repoints `client_secret_ref` at it. The plaintext secret value is never returned.

Path Parameters

NameTypeRequiredDescription
tenant_idstring (uuid)Required

Headers

NameTypeRequiredDescription
X-API-KeystringOptional

Request Body

application/jsonRequired
client_idobject
client_secretobject

Request

curl -X PATCH '/api-proxy/v1/admin/tenants/{tenant_id}/oidc-provider' \
  -H 'Authorization: Bearer <YOUR_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{
  "client_id": {},
  "client_secret": {}
}'

Response

200

No response body documented

Error Responses