Cubicle

Remove a member from an organization

DELETE
/v1/orgs/{org}/members/{user}

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.

Authorization

session
headerAuthorizationBearer <token>

A sign-in session token (jvs_…) from the Dashboard, cubicle login or the device authorization flow.

Path Parameters

org*string

The organization's ID or name. An organization where the caller is not an active member returns 404.

user*string

The member's user ID, a UUID; identities are not accepted. List members returns it as id.

Formatuuid

Response Body

The membership is revoked.

Example Request
curl -X DELETE 'https://api.cubicle.sh/v1/orgs/acme/members/2c4e6a8b-0d1f-4e3a-9b5c-7d9f1b3d5e7a'
Example Response
Empty