Create group

POST
/api/v1/groups

Create a new group with the provided details.

Authorization

auth ApiKey
AuthorizationBearer <token>

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

In: header

X-API-KEY<token>

Internal API key for admin endpoints. Example: "X-API-KEY: {key}"

In: header

Request Body

application/json

The details of the group to be added.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/groups" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9"  }'
Empty