Delete an organization user

Permanently deletes an organization user. It cannot be undone.

DELETE/v3/organizations/{organizationId}/users/{id}
JWT
organization:user:delete

Parameters

NameTypeInDescription
organizationId*stringpath
id*stringpathUnique identifier for the organization user.
Triggers webhook: organization.user.deleted
POST <your-webhook-url>
{
  "event": "organization.user.deleted",
  "data": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "name": "string",
    "firstName": "string",
    "lastName": "string",
    "email": "string",
    "role": "string",
    "twoFactorEnabled": true,
    "googleSsoEnabled": true,
    "lastLoginAt": "2019-08-24T14:15:22Z",
    "userGroups": [
      {
        "id": "string",
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "name": "string",
        "description": "string"
      }
    ]
  },
  "triggeredAt": "string"
}

Responses

204 No Content