Step 1: Get the user ID

GET {{apiPath}}/environments/{{envID}}/users

To create a user role assignment, you'll need the ID of a user.

Get a list of users in your environment using the GET {{apiPath}}/environments/{{envID}}/users request.

Copy the user.id field of the user you wish to assign a role to.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring