Batch Create Resource Role Assignments

post

/api/restapi/resourceRoleAssignment/batch

Send a request to this endpoint to create one or more resource role assignments.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityResourceRoleAssignmentInput>
Type: array
Title: List<ApiEntityResourceRoleAssignmentInput>
Show Source
  • ApiEntityResourceRoleAssignmentInput
    Title: ApiEntityResourceRoleAssignmentInput
    This entity represents a ResourceRoleAssignment object, a unique ResourceRoleAssignment object can be identified by the following combinations of the fields.
    • resourceRoleAssignmentId
    • resourceId,roleId
    • resourceCode,workspaceCode,roleId
    • resourceId,workspaceCode,roleCode
    • resourceCode,workspaceCode,roleCode
Nested Schema : ApiEntityResourceRoleAssignmentInput
Type: object
Title: ApiEntityResourceRoleAssignmentInput
This entity represents a ResourceRoleAssignment object, a unique ResourceRoleAssignment object can be identified by the following combinations of the fields.
  • resourceRoleAssignmentId
  • resourceId,roleId
  • resourceCode,workspaceCode,roleId
  • resourceId,workspaceCode,roleCode
  • resourceCode,workspaceCode,roleCode
Show Source
Examples

Back to Top

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : List<ApiEntityResourceRoleAssignment>
Type: array
Title: List<ApiEntityResourceRoleAssignment>
Show Source
Nested Schema : ApiEntityResourceRoleAssignment
Type: object
Title: ApiEntityResourceRoleAssignment
Show Source

400 Response

Invalid input for the Resource Role Assignment service.
Back to Top