Step 16: Assign the application role to user

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

The POST /environments/{{envID}}/users/{{customResourceUserID}}/applicationRoles operation assigns the application role that you created in Step 8 to your new user. The role will include the application permission that you associated with the role in Step 9.

Request Body

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

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring