Copy Role
post
/role/copyRole
Copies a Role structure and places it under a Role Object specified by ParentRoleObjectId.
Request
Header Parameters
-
Authorization: string
OAuth token
Supported Media Types
- application/json
Root Schema : CopyRole
Type:
objectTitle:
CopyRoleCopyRole Entity
Show Source
-
CopyChildRoles: boolean
-
CopyCodes: boolean
-
CopyResources: boolean
-
ParentRoleObjectId: string
The unique identifier of an existing role that will contain the copied role
-
RoleObjectId: string
The unique identifier of the source Role structure to copy.
Response
Supported Media Types
- application/json
201 Response
OK
Root Schema : CopyRoleResponse
Type:
objectTitle:
CopyRoleResponseCopyRoleResponse Entity
Show Source
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.