Overview

Create group

POST/v2/rbac/groups
Features

Send the token in the Authorization: Bearer API_TOKEN header. See Tokens for which token types this endpoint accepts.

Input4
Authorizationheaderrequired
Sent from your browser straight to the API — never to Docsbook, never stored.
descriptionstring · body
Detailed description of the group's purpose and scope
membersstring[] · body
List of user IDs that are assigned to this group
namestring · bodyrequired
Unique name identifier for the group
rolesstring[] · body
List of role IDs that are assigned to this group
Output5
descriptionstring
Detailed description of the group's purpose and scope
membersstring[]
List of user IDs that are assigned to this group
namestring
Unique name identifier for the group
rolesstring[]
List of role IDs that are assigned to this group
idstring
Unique identifier for the group
Responses
200The group was successfully created
Example input
curl -X POST 'https://api.axiom.co/v2/rbac/groups' \
  -H 'Authorization: Bearer API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"name":"string"}'
Example output
{
  "description": "string",
  "isManaged": false,
  "members": [
    "string"
  ],
  "name": "string",
  "roles": [
    "string"
  ],
  "id": "string"
}

Updated

Was this page helpful?