API Guide
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
"id": "string",
"message": "string",
"field_name": "string",
"messageParams": [
"string"
]
}
]
}
default — Success or error response
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
"id": "string",
"message": "string",
"field_name": "string",
"messageParams": [
"string"
]
}
]
}
PUT /auth/users/{userId}/user-state
Changes the user state.
API
PUT /auth/users/{userId}/user-state
Description This API changes the user state. The user must have ADMIN privileges.
Parameters
Table 17. API parameters
Filter name Description
userId
required string (path)
userId parameter to change a user state.
changeUserRole
required (body)
User role parameter to change the user state.
{
"user_state": "ADMIN"
}
Responses 200 — Success or error response
{
"new_object_id": "string",
"id": "string",
"message": "string",
34 Authentication










