v1

latestOpenAPI 3.0.12026-08-0435481.5 MB
Applications

Assign API resource roles to application

Assign API resource roles to the specified application. The API resource roles will be added to the existing API resource roles. Role IDs that are already assigned to the application are silently ignored.

post/api/applications/{applicationId}/roles

Path parameters

applicationIdstring required

The unique identifier of the application.

Request body

roleIdsstring[] required

An array of API resource role IDs to assign.

Response

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

roleIdsstring[] required

An array of API resource role IDs requested for assignment.

addedRoleIdsstring[] required

An array of API resource role IDs newly assigned to the application. Role IDs already attached to the application are silently ignored and not present in this array.