Users

Обновить пользователя (self/admin/system)

patch/api/v1/users/{user_id}

Request

  • Base URL: http://158.160.83.199:8000
  • URL: http://158.160.83.199:8000/api/v1/users/{user_id}
  • Auth: HTTP bearer

Request body

loginstring
namestring
passwordstring
role'USER' | 'ADMIN'
status'ACTIVE' | 'BLOCKED' | 'DISABLED'
system_permissionboolean
to_be_deletedboolean

Response

OK

Example response

{
  "user": {
    "profile": {
      "city": "Москва",
      "country": "Россия"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.