Group Members

Remove a member from an access group

Removes a member from an access group. This does NOT delete the member — it only removes their membership in this group. The member continues to exist on the site and in any other groups they belong to.

Scope-managed groups cannot have members removed via API — returns 403 Forbidden.

DELETE /access-groups/{groupId}/members/{memberId}

Remove a member from an access group

curl --request DELETE \
  --url 'https://api.sotion.so/api/v1/access-groups/{GROUPID}/members/{MEMBERID}' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'

No Body

Member removed from group.

Authorizations

  • Authorization string required header

    Per-site API key (prefix: so_...). Each key is scoped to exactly one Sotion site — the site context is determined entirely by the key. No site ID is needed in any URL. Pass as: Authorization: Bearer so_...

Path Parameters

  • groupId string (uuid) required

    UUID of the access group. Get group IDs from listAccessGroups or createAccessGroup responses.

  • memberId string (uuid) required

    UUID of the member. Get member IDs from listMembers or createMember responses.

Response

  • X-RateLimit-Limit integer response header

    Maximum requests allowed in the current window.

  • X-RateLimit-Remaining integer response header

    Requests remaining in the current window.

  • X-RateLimit-Reset integer response header

    Unix timestamp (seconds) when the rate limit window resets.

  • X-Request-Id string (uuid) response header

    Unique request identifier for support and debugging.