Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Update Service Account

Deprecated: use user service v2 UpdateUser instead.

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

PUT
/management/v1/users/{user_id}/machine

Path Parameters

user_id*user_id

Request Body

application/json
  1. body
description?description
name?name
accessTokenType?access_token_type
Value in"ACCESS_TOKEN_TYPE_BEARER""ACCESS_TOKEN_TYPE_JWT"

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X PUT 'https://example.com/management/v1/users/string/machine' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?