# Account Deleted

POST 

Information about a deleted user account

Reference: https://developers.webflow.com/data/reference/webhooks/events/user-account-deleted

## OpenAPI 3.1 Webhook Specification

```yaml
openapi: 3.1.1
info:
  title: Account Deleted
  version: subpackage_users.user_account_deleted
webhooks:
  user-account-deleted:
    post:
      operationId: user-account-deleted
      summary: Account Deleted
      description: Information about a deleted user account
      tags:
        - subpackage_users
      parameters: []
      responses:
        '200':
          description: Webhook received successfully
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                triggerType:
                  $ref: >-
                    #/components/schemas/WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaTriggerType
                payload:
                  $ref: >-
                    #/components/schemas/WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayload
components:
  schemas:
    WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaTriggerType:
      type: string
      enum:
        - value: user_account_deleted
    WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayloadStatus:
      type: string
      enum:
        - value: invited
        - value: verified
        - value: unverified
    WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayloadAccessGroupsItemsType:
      type: string
      enum:
        - value: admin
        - value: ecommerce
    WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayloadAccessGroupsItems:
      type: object
      properties:
        slug:
          type: string
          description: Access group identifier for APIs
        type:
          $ref: >-
            #/components/schemas/WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayloadAccessGroupsItemsType
          description: |
            The type of access group based on how it was assigned to the user.
            * `admin` - Assigned to the user via API or in the designer
            * `ecommerce` - Assigned to the user via an ecommerce purchase
    WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayloadDataData:
      type: object
      properties:
        name:
          type: string
          description: |
            The name of the user
        email:
          type: string
          description: |
            The email address of the user
        accept-privacy:
          type: boolean
          description: |
            Boolean indicating if the user has accepted the privacy policy
        accept-communications:
          type: boolean
          description: >
            Boolean indicating if the user has accepted to receive
            communications
        additionalProperties:
          type: string
          description: Custom user attributes
    WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayloadData:
      type: object
      properties:
        data:
          $ref: >-
            #/components/schemas/WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayloadDataData
        accept-privacy-policy:
          type: boolean
        accept-communications:
          type: boolean
        email:
          type: string
        name:
          type: string
    WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayload:
      type: object
      properties:
        id:
          type: string
          format: objectid
          description: Unique identifier for the User
        isEmailVerified:
          type: boolean
          description: Shows whether the user has verified their email address
        lastUpdated:
          type: string
          format: date-time
          description: The timestamp the user was updated
        invitedOn:
          type: string
          format: date-time
          description: The timestamp the user was invited
        createdOn:
          type: string
          format: date-time
          description: The timestamp the user was created
        lastLogin:
          type: string
          format: date-time
          description: The timestamp the user was logged in
        status:
          $ref: >-
            #/components/schemas/WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayloadStatus
          description: The status of the user
        accessGroups:
          type: array
          items:
            $ref: >-
              #/components/schemas/WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayloadAccessGroupsItems
          description: Access groups the user belongs to
        data:
          $ref: >-
            #/components/schemas/WebhooksUserAccountDeletedPayloadContentApplicationJsonSchemaPayloadData
          description: The data about the user account that was added

```