Skip to main content

Patch Users

PATCH 

https://api.orange.com/evolutionplatform/referentiel/api/v1//users/:identityName

This operation allows to update a User

Request

Path Parameters

    identityName stringrequired

    identity name

Body

user to patch

    identityNamestring

    user identity name

    displayNamestring

    user displayed name

    organizations object[]

    list of organization roles associated to a user

  • Array [
  • organizationIduuidrequired

    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}

    roleIduuidrequired

    role 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}

  • ]
  • emailstring

    user email

    firstNamestring

    user first name

    lastNamestring

    user last name

Responses

ok

Schema
    identityNamestringrequired

    user identity name

    Possible values: Value must match regular expression \S

    displayNamestringrequired

    user displayed name

    Possible values: Value must match regular expression \S

    organizations object[]required

    list of organization roles associated to a user

    Possible values: >= 1

  • Array [
  • organizationIduuidrequired

    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}

    roleIduuidrequired

    role 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}

  • ]
  • emailstringrequired

    user email

    Possible values: Value must match regular expression \S

    firstNamestringrequired

    user first name

    Possible values: Value must match regular expression \S

    lastNamestringrequired

    user last name

    Possible values: Value must match regular expression \S

Authorization: oauth2

name: oauth2clientcredentialstype: oauth2flows: {
  "clientCredentials": {
    "tokenUrl": "https://api.orange.com/oauth/v3/token",
    "scopes": {}
  }
}
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"
}'
Request Collapse all
Base URL
https://api.orange.com/evolutionplatform/referentiel/api/v1/
Auth
Parameters
— pathrequired
Body
{
  "identityName": "string",
  "displayName": "string",
  "organizations": [
    {
      "organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "roleId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    }
  ],
  "email": "string",
  "firstName": "string",
  "lastName": "string"
}