Assign API resource roles to application

POST /api/applications/{applicationId}/roles

Assign API resource roles to the specified application. The API resource roles will be added to the existing API resource roles.

Path parameters


Body Required

  • roleIds array[string] Required

    An array of API resource role IDs to assign.

    Minimum length of each is 1.


  • 201

    The API resource roles have been assigned to the application successfully.

  • 400

    Bad Request

  • 401


  • 403


  • 404

    Not Found

  • 422

    Unprocessable Content

POST /api/applications/{applicationId}/roles
curl \
 -X POST https://[tenant_id]{applicationId}/roles \
 -H "Content-Type: application/json" \
 -d '{"roleIds":["string"]}'
Request example
  "roleIds": [