Update user role

POST /api/service/users/{id}/roles/update

Change a user's role.

Path parameters

  • id string Required

    Unique identifier (GUID) of the user whose role will be changed.

Body Required

Object defining the action to be performed on the user.

  • roleId string

    Unique identifier (GUID) of the role to set for the user.


  • 200

    User's role was successfully changed.

    Note that when successful this returns no content.

POST /api/service/users/{id}/roles/update
curl \
 -X POST https://tenant.atlan.com/api/service/users/02aaddf5-b9be-4433-9bfa-4a7d9a7ae4f5/roles/update \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"roleId":"620172e0-81df-4d30-a8b3-f92a69badd04"}'
Request example
  "roleId": "620172e0-81df-4d30-a8b3-f92a69badd04"