Add group

POST
/api/v2/groups

Add a new group to the system.

AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'

In: header

Request Body

application/json

The request object containing group details.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v2/groups" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
"string"