Leave an organization

DELETE/auth/v1/memberships/{orgId}/leave

Removes the authenticated user's own membership from the organization.

Authorization<token>

In: header

Path Parameters

orgId*string

Organization ID

Response Body

200application/json

OK

type: unknown

{
  "$ref": "#/components/schemas/authv1.StatusResponse",
  "$ref-value": {
    "properties": {
      "status": {
        "type": "string"
      }
    },
    "type": "object"
  }
}
curl -X DELETE "https://api.rixl.com/auth/v1/memberships/string/leave"

OK

application/json

{
  "$ref": "#/components/schemas/authv1.StatusResponse",
  "$ref-value": {
    "properties": {
      "status": {
        "type": "string"
      }
    },
    "type": "object"
  }
}