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"Documentation Index
Fetch the complete documentation index at: https://developers.partoo.co/llms.txt
Use this file to discover all available pages before exploring further.
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)
Organization ID. Only PROVIDER users can specify a different organization. If not provided, defaults to your own organization.
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 duplicated custom role.
"my_custom_role_2"
"It has a custom permission configuration!"
Unique identifier of an organization in Partoo.
42
false