Skip to main content

RBAC

๐Ÿ“„๏ธ Create a permission

This endpoint creates a new permission with the given name. If the permission exists already, no action will be taken. The permission name must be unique within your organization; is case-sensitive; and must conform to the following: - must be at least 2 characters long - may be at most 1024 characters long - may contain only the characters `A-Z a-z 0-9 - _ . /` - must start and end with an alphanumeric character (`A-Z a-z 0-9`) A person can be assigned a permission through the [`POST /persons/:person_id/permissions`](/docs/api/put-persons-person-id-permissions) endpoint. Sub-organization can create permissions only when [`inherit_rbac_pools` is disabled](/docs/api/post-organizations-suborganizations). If `inherit_rbac_pools` is enabled, the permissions from the root organization will be inherited.