# Remove a calendar from an assistant

`DELETE https://www.getrevox.com/api/assistants/{id}/calendars/{calendarId}`

The agent stops booking on it. The account connection is deleted too, unless another calendar still uses it.

## Path parameters

- `id` (string, required)
- `calendarId` (string, required)

## Example request

```bash
curl -X DELETE https://www.getrevox.com/api/assistants/3c90c3cc-0d44-4b50-8888-8dd25736052a/calendars/3c90c3cc-0d44-4b50-8888-8dd25736052a \
  -H "Authorization: Bearer $REVOX_API_KEY"
```

## Responses

### 200: Success

- `success` (boolean, required)

### 404: Not found in your organization

- `message` (string, optional)
- `error` (string, optional)
- `bodyErrors` (object, optional): The validation errors returned from the API.
  - `issues` (array of object, required)
    - `path` (array of one of, required)
      - One of, **string** (string)
      - One of, **number** (number)
    - `message` (string, required)
    - `code` (string, optional)