rbac

Creates a custom role. Requires an Enterprise plan or the RBAC add-on. The name must be unique and can't start with axiom-. The members field is ignored; assign users with the Update user role endpoint.

post/rbac/roles

Request

Request body

datasetCapabilitiesRoleDatasetCapabilities

Defines the available permissions for dataset operations

descriptionstring

Detailed description of the role's purpose and scope

membersstring[]

IDs of users assigned this role directly. Returned in responses and ignored in requests. To assign a role to a user, use the Update user role endpoint.

namestring required

Unique name identifier for the role

viewCapabilitiesRoleViewCapabilities

Defines the available permissions for view operations

Response

The created role.

datasetCapabilitiesRoleDatasetCapabilities

Defines the available permissions for dataset operations

descriptionstring

Detailed description of the role's purpose and scope

membersstring[]

IDs of users assigned this role directly. Returned in responses and ignored in requests. To assign a role to a user, use the Update user role endpoint.

namestring required

Unique name identifier for the role

viewCapabilitiesRoleViewCapabilities

Defines the available permissions for view operations

idstring required

Unique identifier for the role

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      removed the request property //

    • warning

      removed the request property /

    • warning

      removed the optional property ////// from the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • info

      added the new optional request property /

    • info

      added the optional property ///// to the response with the status