/api/v1/admin/community/groups/users| Name | Type | Required | Description |
|---|---|---|---|
| x-api-key | String | ā Yes | API key provided by the Networked Team. Used to authenticate external client requests. |
| spaceId | String | ā Yes | UUID of the target group (space) to remove users from. Identifies which group the operation applies to. |
| Content-Type | String | ā Yes | Must be application/json. |
| Name | Type | Required | Description |
|---|---|---|---|
| userId | String | ā Yes | User ID(s) to remove from the group. Pass a single UUID, or multiple UUIDs separated by commas (e.g. uuid-1,uuid-2). Whitespace around commas is trimmed. |
DELETE /api/v1/admin/community/groups/users?userId=dcb88996-2317-428d-b10d-07ecb5de95eeDELETE /api/v1/admin/community/groups/users?userId=dcb88996-2317-428d-b10d-07ecb5de95ee,a1b2c3d4-e5f6-7890-abcd-ef1234567890{
"data": {},
"error": false,
"message": "Success"
}interface RemoveUsersFromSpaceResponse {
data: Record<string, never>;
error: boolean;
message: string;
}| Field | Type | Description |
|---|---|---|
| data | Object | Empty object on success. |
| error | Boolean | false when the operation succeeds. |
| message | String | Descriptive message for the API outcome (e.g. "Success"). |
spaceId (header) sets the target Space.userId in the query string, the user must belong to that space .| Code | Message (typical) | When |
|---|---|---|
| 512 | Validation error | Missing or invalid userId query parameter. |
| 525 | No data found | Target group (community) not found for the given spaceId. |
| 555 | The provided X-API-KEY is invalid or has expired. | Invalid or inactive x-api-key. |
| 429 | Too many requests | Rate limit exceeded (100 requests/minute per client). |
x-api-key.spaceId is required in the header and identifies the target group; userId is required in the query string and identifies the user to remove.userId as a query parameter only.x-api-key.x-api-key is omitted the endpoint will fail.| Field | Value |
|---|---|
| Summary | Remove users from Space |
| Method | DELETE |
| Path | /api/v1/admin/community/groups/users |
| Name | Required | Example |
|---|---|---|
x-api-key | ā Yes | {{x-api-key}} |
spaceId | ā Yes | {{spaceId}} |
Content-Type | ā Yes | application/json |
userid | No | ā |
| Name | Required | Example |
|---|---|---|
userId | ā Yes | dcb88996-2317-428d-b10d-07ecb5de95ee |
userId from req.query, not the body.{
"data": {},
"error": false,
"message": "Success"
}curl --location --request DELETE 'https://backend.networked.co/api/v1/admin/community/groups/users?userId=dcb88996-2317-428d-b10d-07ecb5de95ee' \
--header 'spaceId: 35ca5fd0-1357-45c5-80d5-06f17642a502' \
--header 'x-api-key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{}