Duplicate a Custom Role.
A new Custom Role with (almost) the same name and api_id, and identical description and permissions will be created in your organization.
The new name will be the same as the original role, with an added suffix
"My Custom Role" → "My Custom Role - 2"And similar for the api_id:
"my_custom_role" → "my_custom_role_2"The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
API identifier of the custom role (api_id)
OK
Response for successfully duplicating a custom role
Name of the Custom Role. Cannot contain any of the following characters: ,;/\|<>.
"This is My Custom Role"
API identifier of the Custom Role. Cannot contain any of the following characters: ,;/\|<>.
API identifier of the duplicated custom role.
"my_custom_role_2"
"It has a custom permission configuration!"
Organization id
42
false