members.dev
Accounts

Remove Account organization access

Removes an Account's access to an Organization

DELETE
/v1/accounts/{account_id}/organizations/{organization_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

account_id*string
organization_id*string

Header Parameters

Members-Context?|

Members organization id (org_…) when the client has multiple organizations.

Response Body

application/json

curl -X DELETE "https://api.members.dev/v1/accounts/string/organizations/string"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}