Step 9: Assign the application role to user

POST {{apiPath}}/environments/{{envID}}/users/{{userID}}/applicationRoles

The POST /environments/{{envID}}/users/{{userID}}/applicationRoles operation assigns the application role that you created in Step 7 to a specified user. The role will include the application permission that you associated with the role in Step 8.

See Create User Application Role Assignment) for more information.

Request Body

{"id"=>"{{appRoleID}}"}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring