ZITADEL Docs
APIsCore ResourcesV1Organization Objects

UpdateMachine

Update Machine User

Deprecated: use user service v2 UpdateUser instead.

Change a service account/machine user. It is used for accounts with non-interactive authentication possibilities.

PUT
/users/{user_id}/machine

Path Parameters

user_id*string

Request Body

application/json

description?string
name?string
accessTokenType?string
Value in"ACCESS_TOKEN_TYPE_BEARER" | "ACCESS_TOKEN_TYPE_JWT"
[key: string]?never

Response Body

application/json

application/json

curl -X PUT "https://loading/users/string/machine" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?