---
metadata:
  - name: generator
    content: Diplodoc Platform v5.61.1
alternate:
  - https://yandex.ru/dev/api360/doc/ru/directory/post-user-alias.md
  - href: https://yandex.ru/dev/api360/doc/ru/directory/post-user-alias.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.ru/dev/api360/doc/ru/llms.txt
    rel: describedby
sourcePath: docs/dev/api360/concepts/gw/directory/post-user-alias.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/api360/doc/ru/llms.txt

<!-- source: ru/openapi/directory/v1api360directoryorgorg_idusersuser_idaliases-post.md -->
<div class="openapi">

# Добавить алиас

<!-- markdownlint-disable-file -->

Добавляет сотруднику алиас почтового ящика.

Требуется разрешение на изменение данных сотрудников.


## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-post);margin-bottom: 12px">

<div class="openapi__request">

POST {.openapi__method}
```text translate=no
https://cloud-api.yandex.net/v1/api360/directory/org/{org_id}/users/{user_id}/aliases
```

</div>

</div>

</div>

### Path parameters

#|
|| **Name** | **Description** ||
||

_org_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Идентификатор организации.
{.table-cell}
||
||

_user_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Идентификатор сотрудника.

_Example:_{.json-schema-reset .json-schema-example} ``
{.table-cell}
||
|#{.json-schema-properties}

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "alias": "example"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_alias_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Алиас почтового ящика пользователя.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

Успешный ответ. Возвращает данные пользователя с добавленным алиасом.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "id": 0,
  "nickname": "example",
  "departmentId": 0,
  "email": "example",
  "defaultEmail": "example",
  "name": {
    "first": "example",
    "middle": "example",
    "last": "example"
  },
  "gender": "example",
  "position": "example",
  "avatarId": "example",
  "about": "example",
  "birthday": "example",
  "contacts": [
    {
      "type": "example",
      "value": "example",
      "main": true,
      "alias": true,
      "synthetic": true,
      "isForCompletionKeyLink": true,
      "label": "example"
    }
  ],
  "aliases": [
    "example"
  ],
  "groups": [
    0
  ],
  "externalId": "example",
  "isAdmin": true,
  "isRobot": true,
  "isDismissed": true,
  "is2faEnabled": true,
  "isEnabled": true,
  "isAgreementAccepted": true,
  "timezone": "example",
  "language": "example",
  "createdAt": "2025-01-01T00:00:00Z",
  "updatedAt": "2025-01-01T00:00:00Z",
  "isEnabledUpdatedAt": "example",
  "completionKeyLinkSendingStatus": {
    "attempts": 0,
    "createdAt": "2025-01-01T00:00:00Z",
    "lastAttemptAt": "2025-01-01T00:00:00Z",
    "lastSendingStatus": "success",
    "linkExpiresAt": "2025-01-01T00:00:00Z"
  }
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_about_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Описание сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_aliases_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string[]

Список алиасов сотрудника.

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  "example"
]
```

{% endcut %}
{.table-cell}
||
||

_avatarId_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Идентификатор аватара сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_birthday_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Дата рождения сотрудника в формате `YYYY-MM-DD`. Может быть пустой строкой.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_completionKeyLinkSendingStatus_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [CompletionKeyLinkSendingStatus](#entity-CompletionKeyLinkSendingStatus)

Статус отправки смс со ссылкой для завершения регистрации. Отсутствует, если смс со ссылкой не отправлялось.

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "attempts": 0,
  "createdAt": "2025-01-01T00:00:00Z",
  "lastAttemptAt": "2025-01-01T00:00:00Z",
  "lastSendingStatus": "success",
  "linkExpiresAt": "2025-01-01T00:00:00Z"
}
```

{% endcut %}
{.table-cell}
||
||

_contacts_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [Contacts](#entity-Contacts)

Список контактов сотрудника.

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  {
    "type": "example",
    "value": "example",
    "main": true,
    "alias": true,
    "synthetic": true,
    "isForCompletionKeyLink": true,
    "label": "example"
  }
]
```

{% endcut %}
{.table-cell}
||
||

_createdAt_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата и время создания сотрудника в формате ISO 8601.

_Example:_{.json-schema-reset .json-schema-example} `2025-01-01T00:00:00Z`
{.table-cell}
||
||

_defaultEmail_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Адрес, используемый по умолчанию для отправки писем и отображения в контактах.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_departmentId_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: integer

Идентификатор подразделения, в котором состоит сотрудник.
{.table-cell}
||
||

_email_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Основной адрес электронной почты сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_externalId_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Произвольный внешний идентификатор сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_gender_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Пол сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_groups_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: integer[]

Список идентификаторов групп, в которых состоит сотрудник.

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  0
]
```

{% endcut %}
{.table-cell}
||
||

_id_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: integer

Идентификатор сотрудника.
{.table-cell}
||
||

_is2faEnabled_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Статус обязательной персональной двухфакторной аутентификации:

- `true` — включена;
- `false` — выключена.

{.table-cell}
||
||

_isAdmin_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Признак администратора организации:

- `true` — администратор;
- `false` — рядовой пользователь.

{.table-cell}
||
||

_isAgreementAccepted_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Признак завершения регистрации:

- `true` — сотрудник завершил регистрацию и принял пользовательское соглашение;
- `false` — сотрудник не завершил регистрацию.

{.table-cell}
||
||

_isDismissed_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Статус сотрудника:

- `true` — уволенный;
- `false` — действующий.

{.table-cell}
||
||

_isEnabled_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Статус аккаунта:

- `true` — активен;
- `false` — заблокирован.

{.table-cell}
||
||

_isEnabledUpdatedAt_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Дата и время последнего изменения статуса аккаунта в формате ISO 8601.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_isRobot_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Признак служебного бота:

- `true` — бот;
- `false` — человек.

{.table-cell}
||
||

_language_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Язык сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_name_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [Name](#entity-Name)

ФИО сотрудника.

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "first": "example",
  "middle": "example",
  "last": "example"
}
```

{% endcut %}
{.table-cell}
||
||

_nickname_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Логин сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_position_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Должность сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_timezone_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Часовой пояс сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_updatedAt_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата и время изменения данных сотрудника в формате ISO 8601.

_Example:_{.json-schema-reset .json-schema-example} `2025-01-01T00:00:00Z`
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### Name {#entity-Name}

ФИО сотрудника.

#|
|| **Name** | **Description** ||
||

_first_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Имя сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_last_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Фамилия сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_middle_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Отчество сотрудника.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "first": "example",
  "middle": "example",
  "last": "example"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### ContactItem {#entity-ContactItem}

Контакт сотрудника.

#|
|| **Name** | **Description** ||
||

_alias_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Если у сотрудника есть алиас, для него автоматически создается контакт типа `email`:

- `true` — контакт создан на основе алиаса;
- `false` — контакт создан вручную.

{.table-cell}
||
||

_isForCompletionKeyLink_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Признак номера телефона для отправки смс со ссылкой для завершения регистрации:

- `true` — на этот номер отправляется смс со ссылкой для завершения регистрации;
- `false` — обычный контакт.

{.table-cell}
||
||

_label_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Метка контакта.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_main_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Признак основного контакта:

- `true` — основной;
- `false` — альтернативный.

{.table-cell}
||
||

_synthetic_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Признак автоматически созданного контакта:

- `true` — контакт создан автоматически;
- `false` — контакт создан вручную.

{.table-cell}
||
||

_type_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Тип контакта.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_value_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Значение контакта.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "type": "example",
  "value": "example",
  "main": true,
  "alias": true,
  "synthetic": true,
  "isForCompletionKeyLink": true,
  "label": "example"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### Contacts {#entity-Contacts}

Список контактов сотрудника.

**Type**: [ContactItem](#entity-ContactItem)[]

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  {
    "type": "example",
    "value": "example",
    "main": true,
    "alias": true,
    "synthetic": true,
    "isForCompletionKeyLink": true,
    "label": "example"
  }
]
```

{% endcut %}

</div>

<div class="openapi-entity">

### CompletionKeyLinkSendingStatus {#entity-CompletionKeyLinkSendingStatus}

Статус отправки смс со ссылкой для завершения регистрации. Отсутствует, если смс со ссылкой не отправлялось.

#|
|| **Name** | **Description** ||
||

_attempts_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: integer

Количество попыток отправки смс.
{.table-cell}
||
||

_createdAt_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата и время первой попытки отправки.

_Example:_{.json-schema-reset .json-schema-example} `2025-01-01T00:00:00Z`
{.table-cell}
||
||

_lastAttemptAt_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата и время последней попытки отправки.

_Example:_{.json-schema-reset .json-schema-example} `2025-01-01T00:00:00Z`
{.table-cell}
||
||

_lastSendingStatus_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Статус последней попытки отправки:

- `success` — смс отправлено успешно;
- `failed` — отправить смс не удалось.


_Enum:_{.json-schema-reset .json-schema-value} `success`, `failed`
{.table-cell}
||
||

_linkExpiresAt_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата и время, до которых действует ссылка. Отсутствует, если успешных попыток отправки не было.

_Example:_{.json-schema-reset .json-schema-example} `2025-01-01T00:00:00Z`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "attempts": 0,
  "createdAt": "2025-01-01T00:00:00Z",
  "lastAttemptAt": "2025-01-01T00:00:00Z",
  "lastSendingStatus": "success",
  "linkExpiresAt": "2025-01-01T00:00:00Z"
}
```

{% endcut %}

</div>

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Неверные параметры запроса

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "invalid_argument",
  "description": "Неверные параметры запроса",
  "message": "Неверные параметры запроса",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Неверные параметры запроса`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `invalid_argument`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Неверные параметры запроса`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__403">

## 403 Forbidden

Доступ запрещен

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "permission_denied",
  "description": "Доступ запрещен",
  "message": "Доступ запрещен",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Доступ запрещен`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `permission_denied`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Доступ запрещен`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__404">

## 404 Not Found

Ресурс не найден

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "not_found",
  "description": "Ресурс не найден",
  "message": "Ресурс не найден",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Ресурс не найден`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `not_found`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Ресурс не найден`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__409">

## 409 Conflict

Конфликт - ресурс уже существует

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "already_exists",
  "description": "Конфликт - ресурс уже существует",
  "message": "Конфликт - ресурс уже существует",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Конфликт - ресурс уже существует`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `already_exists`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Конфликт - ресурс уже существует`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__412">

## 412 Precondition Failed

Функция недоступна или не оплачена

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "failed_precondition",
  "description": "Функция недоступна или не оплачена",
  "message": "Функция недоступна или не оплачена",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Функция недоступна или не оплачена`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `failed_precondition`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Функция недоступна или не оплачена`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__429">

## 429 Too Many Requests

Превышен лимит запросов

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "resource_exhausted",
  "description": "Превышен лимит запросов",
  "message": "Превышен лимит запросов",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Превышен лимит запросов`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `resource_exhausted`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Превышен лимит запросов`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__500">

## 500 Internal Server Error

Внутренняя ошибка сервера

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "internal",
  "description": "Внутренняя ошибка сервера",
  "message": "Внутренняя ошибка сервера",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Внутренняя ошибка сервера`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `internal`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Внутренняя ошибка сервера`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

</div>
<!-- endsource: ru/openapi/directory/v1api360directoryorgorg_idusersuser_idaliases-post.md -->


[*Deprecated]: No longer supported, please use an alternative and newer version.