Step 7: Create an application role

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

The POST /environments/{{envID}}/applicationRoles operation creates a new application role. In PingOne Authorize, application roles contain application permissions, and the application roles can be assigned to PingOne users, similar to PingOne platform roles.

The body of the request specifies the name of the role. You can also include an optional role description.

See Create Application Role for more information.

Request Body

{"name"=>"Accountant_{{$randomAbbreviation}}", "description"=>"Member of the accounting team"}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring