Update User

patch

/rest/v7/companies/{companyName}/users/{userName}

This operation applies changes to an existing user.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : user
Type: object
Show Source
Back to Top

Response

Default Response

No content. This task does not return elements in the response body.
Back to Top

Examples

The following example shows how to update user details by submitting a PATCH request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X PATCH - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v7/companies/{companyname}/users/AAP39

Request Body Sample

{
   "login": "AAP39",
   "firstName": "AA39",
   "lastName": "PP39",
   "email": "service2@bigmachines.com",
   "status": 1,
   "type": "FULL_ACCESS",
   "enabledForSso": "NOT_ENABLED",
   "languageCode": "es_ES",
   "currencyCode": "GBP"
}
Back to Top