---
title: "delete user alias."
method: DELETE
path: "/alias/{aliasEmail}"
tags: ["Settings"]
---

# delete user alias.

`DELETE /alias/{aliasEmail}`

## Request

- Base URL: `https://api.intheloop.io`
- URL: `https://api.intheloop.io/alias/{aliasEmail}`
- Auth: API key in header `Authorization`

## Path parameters

- `aliasEmail` string, required

## Headers

- `Authorization` string

## Response `200`

OK

- UserSettings: User settings resource
  - `timeZone` string: Timezone in IANA format (reference: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
  - `cultureCode` string: Culture code (reference: https://msdn.microsoft.com/en-us/library/ee825488(v=cs.20).aspx)
  - `haveTwoFactorSecret` boolean, required: Has two secret factor authorization set
  - `regionCode` string: Region code (reference ISO short: https://msdn.microsoft.com/en-us/library/ee783932(v=cs.10).aspx)
  - `registeredDate` string, date-time: User's registered date time
  - `onboardingComplete` boolean: User's onboarding complete status.
  - `isPasswordVerified` boolean: Is password verified.
  - `intent` string: Intent
  - `userClientSettings` UserClientSettings: Users client settings. This settings are only stored on BE side and used only on client side. BE does not implement any logic around this settings.
    - `showEmailsInAllMessages` boolean, required: Flag to indicate if emails are shown in All messages section.
    - `showSendEmailsInAllMessages` boolean, required: Flag to indicate if send emails are shown in All messages section.
    - `enablePrivateTriagingInMyLoopInbox` boolean, required: Flag to indicate if user will see private actions.
    - `logsDisabled` boolean, required: Flag to indicate if logs are sent form clients
    - `defaultFromAddress` string: Flag to indicate default from address
    - `isWorkspaceSwitchAllowed` boolean: Flag to indicate if you can change workspace.
  - `userAliasSettings` UserAliasSettings: Users alias settings.
    - `aliases` ListOfResourcesOfUserAlias: List of resources
      - `resources` UserAlias[]: List of resources
        - `alias` ContactBase: Contact base resource
          - `id` string: Resource id
          - `name` string: Resource name or title
          - `revision` string: Resource revision
          - `clientId` string: Resource client id
          - `$type` string, required
          - `tags` ListOfTags: List of tags resource
            - `id` string: Resource id
            - `name` string: Resource name or title
            - `revision` string: Resource revision
            - `clientId` string: Resource client id
            - `$type` string, required
            - `tags` ListOfResourcesOfTag: List of resources
              - …
            - `parent` ResourceBase: Resource base
              - …
          - `weight` number: Usage weight.
          - `created` string, date-time: Date time of contact creation
          - `modified` string, date-time: Date time of last time contact was modified
        - `enableForSend` boolean, required: Enable for send
        - `defaultAlias` boolean, required: Default alias
      - `size` integer, required: Page size
      - `offset` integer, required: Page offset
      - `offsetHistoryId` string: Offset history id
      - `totalSize` integer, required: Total size (if total size is at least one bigger than size, then there are more resources). Total size does not necessarily mean the actual total size
  - `userPaymentSettings` UserPaymentSettings: Users payment settings. This settings provider user payment status.
    - `paymentStatusType` 'Trial' | 'Paid' | 'Suspend' | 'WhiteList' | 'PersonalAccount' | 'SharedInbox', required: payment status type
    - `paymentStatusDate` string, date-time: Flag to indicate if send emails are shown in All messages section.
  - `userNotificationSettings` UserNotificationSettings: Users client settings. This settings are only stored on BE side and used only on client side. BE does not implement any logic around this settings.
    - `chatNotification` boolean, required: Flag for sending chat notification.
    - `mailNotification` boolean, required: Flag for sending mail notification.
    - `hideSystemMessageNotification` boolean, required: Flag hide system messages.
    - `notifyNotificationWithSound` boolean, required: Notify notification with sound.
    - `mobileChatNotification` boolean: Flag for sending chat notification (mobile override).
    - `mobileMailNotification` boolean: Flag for sending mail notification (mobile override).
    - `mobileHideSystemMessageNotification` boolean: Flag hide system messages (mobile override).
    - `mobileNotifyNotificationWithSound` boolean: Notify notification with sound (mobile override).

## Other responses

- `401`: Unauthorized request. Check fields message and error code from response body for additional information.
- `429`: Too many requests. Check response header Retry-After indicating how long to wait before making a new request.
- `451`: Unavailable because account is not verified.

---

[API](https://skmtc.dev/intheloop/apis/loop-api.md) - [All operations](https://skmtc.dev/intheloop/apis/loop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/intheloop/apis/loop-api/revisions/0892c5ba0787?raw)
