internal

Remove Member

Remove a member (Owner/Admin; the Owner cannot be removed).

Removing a member auto-revokes the API keys they created (S5) and re-homes them to a fresh org-of-one (basic tier) so they keep a working account.

delete/v1/team/members/{user_id}

Request

  • Base URL: https://api.companydata.dk (the document declares no server; this is the origin it was published from)
  • URL: https://api.companydata.dk/v1/team/members/{user_id}
  • Auth: HTTP bearer

Path parameters

user_idstring required

Response

Successful Response

idstring required
namestring required
tierstring required
role'owner' | 'admin' | 'member' required

Role of a member within an organization (S2).

Exactly one Owner (transferable); multiple Admins allowed.

seats_includedinteger required
extra_seatsinteger required
seats_totalinteger required
seats_usedinteger required
billing_intervalstring nullable
created_atstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.