Members
Remove Member
Remove a member from the organization or leave the organization.
Permissions:
- Only owners can remove other members
- Any member can leave the organization (remove themselves)
Use cases:
- Remove another member from your organization (owner only)
- Leave an organization yourself (when the membership's user_id matches your own)
Behavior when multiple members exist:
- Only the specified member's association is removed
- Organization, sites, and invites remain intact
Behavior when this is the LAST member:
- All sites are deleted
- All pending invites are deleted
- The organization itself is deleted
- The user account is preserved (NOT deleted)
Authentifizierung
bearerAuth AuthentifizierungBearer <token>
API token generated from the fastmon dashboard (Account → API Token). Send as Authorization: Bearer fm_... or paste the full token (including the fm_ prefix) into the Authorize dialog.
In: header
Pfad-Parameter
member_id*Member Id
Format
uuidResponse-Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/members/497f6eca-6276-4993-bfeb-53cbbbba6f08"Leer
{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}