> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aiployees.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Деактивиране на входящ webhook за асистент

> Деактивиране на входящи webhook нотификации за конкретен асистент

Този endpoint деактивира входящите webhook нотификации за асистент, спирайки доставката на real-time актуализации относно завършването и данните от входящи обаждания.

### Request Body

<ParamField body="assistant_id" type="integer" required>
  ID-то на асистента, за който да се деактивира webhook-а
</ParamField>

### Response

<ResponseField name="message" type="string">
  Съобщение за успех, потвърждаващо че webhook-а е деактивиран
</ResponseField>

<ResponseField name="data" type="array">
  Празен масив (резервиран за бъдеща употреба)
</ResponseField>

### Грешни отговори

<ResponseField name="404 Not Found">
  <Expandable title="Отговор при грешка">
    <ResponseField name="message" type="string">
      Съобщение за грешка когато асистентът не е намерен или не принадлежи на аутентикирания потребител
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="422 Validation Error">
  <Expandable title="Отговор при грешка">
    <ResponseField name="message" type="string">
      Съобщение за грешка указващо неуспешна валидация
    </ResponseField>

    <ResponseField name="errors" type="object">
      Подробни грешки от валидация за всяко поле
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 Success Response theme={null}
  {
    "message": "Inbound webhook disabled successfully",
    "data": []
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "message": "Assistant not found"
  }
  ```

  ```json 422 Validation Error theme={null}
  {
    "message": "The given data was invalid.",
    "errors": {
      "assistant_id": [
        "The assistant id field is required."
      ]
    }
  }
  ```
</ResponseExample>
