Added identity providers —
Check the API reference
LogoLogo
Other APIsChangelog
  • Welcome to Provisioning API
  • Getting started
    • API specification
    • Authorization
    • Applications
  • API reference
    • API credentials
      • The API credential object
      • Create an API credential
      • List all API credentials
      • Retrieve an API credential
      • Update an API credential
      • Delete an API credential
    • Application memberships
      • The application membership object
      • Create an application membership
      • List all application memberships
      • Retrieve an application membership
      • Update an application membership
      • Delete an application membership
    • Identity providers
      • The identity provider object
      • Create an identity provider
      • List all identity providers
      • Retrieve an identity provider
      • Update an identity provider
      • Delete an identity provider
    • Memberships
      • The membership object
      • Create a membership
      • List all memberships
      • Retrieve a membership
      • Update a membership
      • Delete a membership
    • Membership profiles
      • The membership profile object
      • Create a membership profile
      • List all membership profiles
      • Retrieve a membership profile
      • Update a membership profile
      • Delete a membership profile
    • Organizations
      • The organization object
      • Create an organization
      • List all organizations
      • Retrieve an organization
      • Update an organization
    • Permissions
      • The permission object
      • Create a permission
      • List all permissions
      • Retrieve a permission
      • Update a permission
    • Roles
      • The role object
      • Create a role
      • List all roles
      • Retrieve a role
      • Update a role
    • User
      • The user object
      • Retrieve the user
      • Update the user
    • Versions
      • The version object
      • List all versions
      • Retrieve a version
On this page
  1. API reference

Roles

The role object and the allowed CRUD operations on the related resource endpoint

PreviousUpdate a permissionNextThe role object

Last updated 27 days ago

Roles are organization-specific and can be assigned to a membership (to grant a specific user a set of permissions) or to an integration API credential.

Roles can be of three types (identified by the kind attribute):

  • read_only — to perform GET requests on any single resource or list of resources).

  • admin — to perform any available CRUD operation on any Core API resource.

  • custom — to grant a different set of permissions on multiple resources (available for Enterprise plans only).

Custom roles

While the permission for the read_only and admin roles are set by default and assigned at runtime by the Core API, Enterprise customers can define custom roles specifying custom permissions on CRUD actions at the single resource level so as to leverage a granular control, tailored to their needs.

Existing roles cannot be deleted using the Provisioning API. A read_only and an admin roles are automatically created for your organization, so the POST method on the /api/roles endpoint will be successful only for Enterprise customers: in that case, all you need to do to create a custom role is to give it a name, the related kind will be automatically set to custom.

Core API