## Delete Organization Membership

**delete** `/v1/organizations/{organization_id}/memberships/{membership_id}`

Remove a member from an organization. Admins cannot remove an owner, and the last owner cannot be removed.

### Path Parameters

- `organization_id: string`

- `membership_id: string`

### Example

```http
curl https://api.nirvanalabs.io/v1/organizations/$ORGANIZATION_ID/memberships/$MEMBERSHIP_ID \
    -X DELETE \
    -H "Authorization: Bearer $NIRVANA_LABS_API_KEY"
```
