Clone a role

POSThttp://localhost:4000/api/permissionsRoles/clone

Creates a new role with the same permissions as an existing one.

Your API key needs the permissionsRoles.MANAGE_ORG_ROLES permission.

Body Params

cloneFromIdintegerrequired

ID of the role to copy.

namestringrequired

Name of the new role.

descriptionstring

What the role is for.

Responses

200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.