Skip to main content
DELETE
Remove organization member
This endpoint requires an Admin Key with the org:write scope, and the key owner must still be an organization admin at call time (otherwise 403 owner_not_admin).Once a member is removed, the Admin API keys they own stop working (project inference API keys are unaffected).

Authorizations

Authorization
string
header
required

Send the Admin API secret as a Bearer token in the Authorization header (Bearer sk-admin-***). Create Admin Keys under Console → Organization → Admin API Keys.

Path Parameters

uid
string
required

User ID of the member.

Response

Member removed.

uid
string
required

User ID of the removed member.

deleted
boolean
required

Whether the member was removed.