1. Community
Networked API Documentation
  • Getting Started
  • User Authentication
    • Add New Users to Community
      POST
    • Send email invites
      POST
  • User Profile
    • User Profile
      GET
    • Profile Visits
      GET
  • Community
    • Features
      • Feature List
    • Directory
      • Users List
      • Roles List
    • Monetization
      • Plans
        • Plans List
    • Feed
      • Polls
        • Create Polls
      • Surveys
        • Create Surveys
      • Post
        • Ask and offer help
          • Post Intro
          • Post Advice
          • Post Recommendation
          • Post Kudos
          • Post Help
        • Feed Post List
        • Post to Feed
        • Get Post Comments
        • Add Comments to Post
      • upload Media
    • Opportunities
      • Company and Services
        • Company and Services List
      • Fundaising Initiatives
        • Fundraising Initiatives List
      • Career Opportunities
        • Career Opportunities
    • Events
      • Event Post
      • Edit Events
      • Delete Event
      • Event List
    • Media Center
      • Get Resources
    • Analytics
      • Community Analytics
    • Newsletter
      • Lists
        • Get newsletter subscriber lists
      • Add newsletter subscribers
      • Get newsletter subscribers
    • Remove users from Space
      DELETE
    • Community Details
      GET
    • Spaces List
      GET
    • Add Users to Space
      POST
  • Webhooks
    • User Webhooks
      • user.joined
      • user.profile.updated
      • user.joined.space
      • user.join.request
    • Feed Webhooks
      • post.created
      • post.liked
      • post.unliked
      • comment.added
      • post.reported
  • References
    • Response Codes
      GET
    • Model Status
      GET
    • Post Types
      GET
  1. Community

Remove users from Space

DELETE
https://backend.networked.co/api/v1/admin/community/groups/users

🚫 Remove Users from Space#

Allows external clients to remove one or more users from a specific space.

HTTP Method#

DELETE

Endpoint#

/api/v1/admin/community/groups/users

Headers#

NameTypeRequiredDescription
x-api-keyStringāœ… YesAPI key provided by the Networked Team. Used to authenticate external client requests.
spaceIdStringāœ… YesUUID of the target group (space) to remove users from. Identifies which group the operation applies to.
Content-TypeStringāœ… YesMust be application/json.

Query Parameters#

NameTypeRequiredDescription
userIdStringāœ… YesUser 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.

Sample Request#

DELETE /api/v1/admin/community/groups/users?userId=dcb88996-2317-428d-b10d-07ecb5de95ee

Batch Request Example#

DELETE /api/v1/admin/community/groups/users?userId=dcb88996-2317-428d-b10d-07ecb5de95ee,a1b2c3d4-e5f6-7890-abcd-ef1234567890

Sample Response (Success)#

{
  "data": {},
  "error": false,
  "message": "Success"
}

Response Interface#

interface RemoveUsersFromSpaceResponse {
  data: Record<string, never>;
  error: boolean;
  message: string;
}

Response Field Descriptions#

FieldTypeDescription
dataObjectEmpty object on success.
errorBooleanfalse when the operation succeeds.
messageStringDescriptive message for the API outcome (e.g. "Success").

Business Rules#

1.
spaceId (header) sets the target Space.
2.
For userId in the query string, the user must belong to that space .

Common Error Responses#

CodeMessage (typical)When
512Validation errorMissing or invalid userId query parameter.
525No data foundTarget group (community) not found for the given spaceId.
555The provided X-API-KEY is invalid or has expired.Invalid or inactive x-api-key.
429Too many requestsRate limit exceeded (100 requests/minute per client).

Reference#

šŸ”— Standard Response Codes

Notes#

This API must be used with a valid 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.
This endpoint does not use a request body — pass userId as a query parameter only.
Users with no existing group membership are skipped without failing the whole request.
Rate limiting applies to all requests authenticated with x-api-key.
If x-api-key is omitted the endpoint will fail.

Apidog field checklist#

FieldValue
SummaryRemove users from Space
MethodDELETE
Path/api/v1/admin/community/groups/users

Headers#

NameRequiredExample
x-api-keyāœ… Yes{{x-api-key}}
spaceIdāœ… Yes{{spaceId}}
Content-Typeāœ… Yesapplication/json
useridNo—

Query parameters#

NameRequiredExample
userIdāœ… Yesdcb88996-2317-428d-b10d-07ecb5de95ee

Request body#

None. Remove the required empty JSON body if present — the handler reads userId from req.query, not the body.

200 response example#

{
  "data": {},
  "error": false,
  "message": "Success"
}

cURL example#

Batch:

Request

Query Params

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
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 '{}'
Response Response Example
{}
Modified atĀ 2026-06-11 13:25:06
Previous
Get newsletter subscribers
Next
Community Details
Built with