Remove a member from an organization
Ends a person's membership: they lose access to the organization and its Boxes. Their Box grants stay on record but stop working; they apply again if the person is added back.
If {user} is one of the organization's service accounts, the route deletes it, exactly like Delete a service account.
Owners and admins may call this route. They may remove any member, owners and themselves included, except the organization's last active owner. It needs a sign-in session; API keys are refused.
sessionAuthorizationBearer <token>A sign-in session token (jvs_…) from the Dashboard, cubicle login or the device authorization flow.
org*stringThe organization's ID or name. An organization where the caller is not an active member returns 404.
user*stringThe member's user ID, a UUID; identities are not accepted. List members returns it as id.
uuidThe membership is revoked.
curl -X DELETE 'https://api.cubicle.sh/v1/orgs/acme/members/2c4e6a8b-0d1f-4e3a-9b5c-7d9f1b3d5e7a'
