ZITADEL Docs
APIsCore ResourcesV1Organization Objects

RegenerateOIDCClientSecret

Generate New OIDC Client Secret

Deprecated: Use GenerateClientSecret instead to (re-)generate an OIDC app client secret.

Generates a new client secret for the OIDC application, make sure to save the response.

POST
/projects/{project_id}/apps/{app_id}/oidc_config/_generate_client_secret

Path Parameters

project_id*string
app_id*string

Response Body

application/json

application/json

curl -X POST "https://loading/projects/string/apps/string/oidc_config/_generate_client_secret"
{
  "clientSecret": "string",
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?