User

Update a Specific User

This endpoint updates supplied fields for a specific user. <br><br>The PATCH endpoint does not support the X-Degreed-Organization-Code header. <br><br>Note: <br><ul><li>The manager assigned to the user must have an employee id to be valid. </li><li>The job-role parameter can only be used if the job role enhancements setting is not enabled for your organization. If the setting is enabled, the request returns an error and you must use the v3 Users endpoint, where job-role is an object with an id field.</li><li>profile-visibility cannot be modified using PATCH.</li></ul><h3>Required Scope</h3>users:write

patch/api/v2/users/{id}

Request

  • Base URL
    https://api.betatest.degreed.com
  • URL
    https://api.betatest.degreed.com/api/v2/users/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

The ID of the user to update.

Request body

Example request

{
  "data": {
    "attributes": {
      "permission-role": "Admin",
      "job-role": "Project Manager"
    }
  }
}

Response

Success

Changes

No recorded changes to this operation across all 2 revisions of this API.