Delete Team Member
Changed onRemoves a team member from the account, or revokes a pending invite when given an ausri_ ID. A user session may delete its own membership to leave the team without the delete scope. Removing a member on the workforce role is also allowed with the bounty:create scope. The account owner cannot be removed.
Request
- Base URLhttps://api.whop.com/api/v1
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Team member ID. Accepted members have an ID starting with ausr_ or mber_, and pending invites one starting with ausri_. Treat it as opaque.
Headers
Pins the request to a dated API version.
Response
Team member removed.
Example response
{
"success": true
}Changes
- info
the security scope
authorized_user:deletewas added to the endpoint's security schemebearerAuth - info
the security scope
bounty:createwas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
authorized_user:deletewas added to the endpoint's security schemebearerAuth
1 more change in this revision
- info