Patch Users
PATCH/users/:identityName
This operation allows to update a User
Request
Path Parameters
identity name
- application/json
Body
user to patch
Array [
]
user identity name
user displayed name
organizations
object[]
list of organization roles associated to a user
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
organization UUID associated to user
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
role UUID associated to user
user email
user first name
user last name
Responses
- 200
- 400
- 401
- 403
- 404
- 500
ok
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: Value must match regular expression \S
user identity name
Possible values: Value must match regular expression \S
user displayed name
organizations
object[]
required
Possible values: >= 1
list of organization roles associated to a user
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
organization UUID associated to user
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
role UUID associated to user
Possible values: Value must match regular expression \S
user email
Possible values: Value must match regular expression \S
user first name
Possible values: Value must match regular expression \S
user last name
{
"identityName": "string",
"displayName": "string",
"organizations": [
{
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"roleId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"email": "string",
"firstName": "string",
"lastName": "string"
}
bad request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
bad request code
bad request message
bad request status
bad request title
violations
object[]
bad request violations
violated field name
error message
{
"code": 0,
"message": "string",
"status": 0,
"title": "string",
"violations": [
{
"field": "string",
"message": "string"
}
]
}
unauthorized access
- application/json
- Schema
- Example (from schema)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
forbidden access
- application/json
- Schema
- Example (from schema)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
not found
- application/json
- Schema
- Example (from schema)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
internal error
- application/json
- Schema
- Example (from schema)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}