Patch Users
PATCHhttps://api.orange.com/evolutionplatform/referentiel/api/v1//users/:identityName
This operation allows to update a User
Request
Path Parameters
identity name
- application/json
Body
user to patch
user identity name
user displayed name
organizations object[]
user email
user first name
user last name
Responses
- 200
- 400
- 401
- 403
- 404
- 500
ok
- application/json
- Schema
- Example (auto)
Schema
user identity name
Possible values: Value must match regular expression \S
user displayed name
Possible values: Value must match regular expression \S
organizations object[]required
user email
Possible values: Value must match regular expression \S
user first name
Possible values: Value must match regular expression \S
user last name
Possible values: Value must match regular expression \S
{
"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 (auto)
Schema
bad request code
bad request message
bad request status
bad request title
violations object[]
{
"code": 0,
"message": "string",
"status": 0,
"title": "string",
"violations": [
{
"field": "string",
"message": "string"
}
]
}
unauthorized access
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
forbidden access
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
not found
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
internal error
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
Authorization: oauth2
name: oauth2clientcredentialstype: oauth2flows: {
"clientCredentials": {
"tokenUrl": "https://api.orange.com/oauth/v3/token",
"scopes": {}
}
}
- curl
- python
- go
- nodejs
- php
- java
- CURL
curl -L -X PATCH 'https://api.orange.com/evolutionplatform/referentiel/api/v1//users/:identityName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"identityName": "string",
"displayName": "string",
"organizations": [
{
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"roleId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"email": "string",
"firstName": "string",
"lastName": "string"
}'