---
title: "Remove a business membership or invitation"
method: DELETE
path: "/organization-roles/{id}"
tags: ["Organization Roles"]
---

# Remove a business membership or invitation

`DELETE /organization-roles/{id}`

## Request

- Base URL: `https://api.purplegrain.com/api/v1`
- URL: `https://api.purplegrain.com/api/v1/organization-roles/{id}`
- Auth: HTTP bearer

Permanently delete the membership or invitation identified by `id`.
This removes that membership's access to the business or invalidates
its pending invitation. The person may remove their own membership;
removing another person's role requires ownership rights on the
business and the connection's permitted access.

Confirm the person and business before deletion. This does not delete
the person's account, the business, or its farm records. Returns no
content on success. Use `updateOrganizationRole` to change a role's
permission or invitation status instead of deleting it.

## Path parameters

- `id` string, required

## Response `204`

No Content

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/purplegrain/apis/purple-grain-api.md) · [All operations](https://skmtc.dev/purplegrain/apis/purple-grain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/purplegrain/apis/purple-grain-api/revisions/4bedbc1c784c?raw)
