Skip to main content
POST
/
api
/
usergroups
Create user group.
curl --request POST \
  --url https://{tenant}/api/usergroups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "active": true,
  "description": "Devops logs and analytics access",
  "name": "Devops",
  "org_id": "5e9d9544a1dcd60001d0ed20",
  "user_permissions": {
    "analytics": "read",
    "log": "read"
  }
}'
{
  "Message": "User group created",
  "Meta": "6649fb3e5715ec4c96cbef36",
  "Status": "OK"
}

Authorizations

Authorization
string
header
required

Body

application/json
active
boolean
Example:
description
string
Example:
id
string
Example:
name
string
Example:
org_id
string
Example:
password_max_days
integer
Example:
user_permissions
object

Response

ID
string
Message
string
Meta
any
Status
string