Skip to main content
DELETE
/
parties
/
me
/
members
/
{userId}
Remove party member
curl --request DELETE \
  --url https://api.natural.co/parties/me/members/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Idempotency-Key: <idempotency-key>'
{
  "data": {
    "type": "user",
    "id": "usr_019cd1798d657de5b5fed4198cb9fac0"
  },
  "meta": {
    "deleted": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.natural.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Unique key for idempotent request handling. If a request with the same key was already processed, the original response is returned.

X-Agent-ID
string | null

Agent ID (agt_xxx) identifying which agent is making the request.

X-Instance-ID
string | null

Required when X-Agent-ID is present. Session or conversation ID for agent observability.

Maximum string length: 1024

Path Parameters

userId
string
required

User ID to remove from party

Pattern: ^usr_[0-9a-f]{32}$

Response

Successful Response

data
RemovedMemberResource · object
required
meta
DeletedMeta · object
required