Create role template

Creates a role template

This call allows you to create a new role template with a custom permission set. Project owners and administrators in your workspace will be able to assign this new role template to team members on a project.

The request should provide a name for the new role template using the displayName body parameter. Use the groupIdentifier parameter to group permissions related to assets (create, delete, source, read, and update) and permissions related to sharing assets (internal and external).

Here is an example of a request:

{
     "displayName": "Intern",
     "permissionGroups": [
          {
              "groupIdentifier": "ASSET",
               "permissions": [
                    "READ",
                    "CREATE"
               ]
          },
          {
              "groupIdentifier": "SHARING",
              "permissions": [
                  "INTERNAL"
              ]
          }
     	] 
}

The role template created here is named “Intern,” and it grants permissions to view and upload assets and to share assets internally.

A 200 code is returned when a role template is created. The response contains the id of the new role template.

Language
Authorization
URL
Click Try It! to start a request and see the response here!