post
https://hub.xyte.io/core/v1/organization/groups
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Authorization
This endpoint requires Authorization.
Request Body
| Key | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the group. Must be unique within the organization. | Yes |
| user_ids | array | List of user UUIDs to add to the group on creation. Users not in this organization are silently ignored. | No |
{
"name": "London Team",
"user_ids": ["9e34b87d-79ca-4dc3-ac42-8ce9ebe8be82"]
}Response
Returns the created group including any initial members:
| Key | Subkey | Type | Description |
|---|---|---|---|
| id | string | Unique identifier of the group (UUID). | |
| name | string | Name of the group. | |
| created_at | datetime | Timestamp when the group was created. | |
| users | array | Users added to the group at creation. | |
| id | string | User UUID. | |
| name | string | User display name. | |
| string | User email address. |
Errors
| Status | Message | Description |
|---|---|---|
| 422 | Parameter name is required | The name field is missing. |
| 422 | Name has already been taken | A group with this name already exists. |
