Permissions
Copy a Role
This endpoint copies an existing role by ID.
post/roles/{roleId}/copy
Request body
Example request
{
"name": "Spa Manager"
}Response
The role was successfully retrieved.
Example response
{
"data": {
"name": "Spa Manager",
"description": "Allows access to settings for the assigned site.",
"permissions": [
"clients.view"
]
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.