ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Create Secret for Service Account

Deprecated: use user service v2 AddSecret instead.

Create a new secret for a service account. It is used to authenticate the user (client credential grant).

PUT
/users/{user_id}/secret

Path Parameters

user_id*string

Response Body

application/json

curl -X PUT "https://loading/users/string/secret"
{
  "clientId": "string",
  "clientSecret": "string",
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?