Create User (Machine)
Deprecated: use user service v2 CreateUser instead.
Create a new user with the type machine for your API, service or device. These users are used for non-interactive authentication flows.
Request Body
application/json
"ACCESS_TOKEN_TYPE_BEARER" | "ACCESS_TOKEN_TYPE_JWT"optionally set your own id unique for the user.
Response Body
application/json
curl -X POST "https://loading/users/machine" \ -H "Content-Type: application/json" \ -d '{ "userName": "string", "name": "string" }'{
"userId": "string",
"details": {
"sequence": 0,
"creationDate": "2023-01-15T01:30:15.01Z",
"changeDate": "2023-01-15T01:30:15.01Z",
"resourceOwner": "string"
}
}Was this page helpful?
Create User (Human)
Create User (Human): Deprecated: use [user service v2 CreateUser](/reference/api/user/zitadel.user.v2.UserService.CreateUser) instead. Create a new user. The newly created user will get an initialization email if eithe...
Create/Import User (Human)
Create/Import User (Human): Deprecated: use [user service v2 UpdateHumanUser](/reference/api/user/zitadel.user.v2.UserService.UpdateHumanUser) instead. Create/import a new user. The newly created user will get an initializati...