---
title: "Save quiet hours and the pause switch"
---

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

# Save quiet hours and the pause switch

Path: CloudRaker Workspace API › My assistant

`PUT /me/assistant/delivery`

## Authentication

- `bearerAuth`, http, header `Authorization`

## Request body

_Required._

- `quietHours` (`updateMyAssistantDelivery.quietHours`; any of, required)
  - any of:
    - `object`
      - `start` (`updateMyAssistantDelivery.quietHours.1.start`; string, required)
        - pattern `^([01]\d|2[0-3]):[0-5]\d$`
      - `end` (`updateMyAssistantDelivery.quietHours.1.end`; string, required)
        - pattern `^([01]\d|2[0-3]):[0-5]\d$`
    - `null`
- `paused` (`updateMyAssistantDelivery.paused`; boolean, required) — Hold all autonomous work; promises still deliver.

## Example request

```json
{
  "quietHours": {
    "start": "string",
    "end": "string"
  },
  "paused": true
}
```

## Code samples

### cURL

```bash
curl --request PUT \
  --url https://api.cloudraker.com/me/assistant/delivery \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "quietHours": {
    "start": "string",
    "end": "string"
  },
  "paused": true
}
'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/me/assistant/delivery';
const options = {
  method: 'PUT',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({quietHours: {start: 'string', end: 'string'}, paused: true})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/me/assistant/delivery"

payload = {
    "quietHours": {
        "start": "string",
        "end": "string"
    },
    "paused": True
}
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.put(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Save quiet hours and the pause switch

#### Example

```json
{
  "data": {
    "quietHours": {
      "start": "string",
      "end": "string"
    },
    "paused": true,
    "recent": [
      {
        "id": "string",
        "lane": "obligation",
        "state": "pending",
        "reason": "string",
        "issueKey": "string",
        "notBefore": "2026-10-08T09:00:00-04:00",
        "entryId": "string",
        "at": "2026-10-08T09:00:00-04:00"
      }
    ]
  }
}
```

- `data` (`updateMyAssistantDelivery.response.200.data`; object, required)
  - `quietHours` (`updateMyAssistantDelivery.response.200.data.quietHours`; any of, required)
    - any of:
      - `object`
        - `start` (`updateMyAssistantDelivery.response.200.data.quietHours.1.start`; string, required)
        - `end` (`updateMyAssistantDelivery.response.200.data.quietHours.1.end`; string, required)
      - `null`
  - `paused` (`updateMyAssistantDelivery.response.200.data.paused`; boolean, required)
  - `recent` (`updateMyAssistantDelivery.response.200.data.recent`; array<object>, required)
    - `id` (`updateMyAssistantDelivery.response.200.data.recent.id`; string, required)
    - `lane` (`updateMyAssistantDelivery.response.200.data.recent.lane`; string, required)
      - one of `"obligation"`, `"suggestion"`
    - `state` (`updateMyAssistantDelivery.response.200.data.recent.state`; string, required)
      - one of `"pending"`, `"delivered"`, `"suppressed"`
    - `reason` (`updateMyAssistantDelivery.response.200.data.recent.reason`; string | null, required)
    - `issueKey` (`updateMyAssistantDelivery.response.200.data.recent.issueKey`; string | null, required)
    - `notBefore` (`updateMyAssistantDelivery.response.200.data.recent.notBefore`; any of, required)
      - any of: `string`, `null`
    - `entryId` (`updateMyAssistantDelivery.response.200.data.recent.entryId`; string | null, required)
    - `at` (`updateMyAssistantDelivery.response.200.data.recent.at`; string, required)
      - example `"2026-10-08T09:00:00-04:00"`

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`updateMyAssistantDelivery.response.400.success`; boolean, required)
  - one of `false`
- `error` (`updateMyAssistantDelivery.response.400.error`; array<unknown>, required)
- `data` (`updateMyAssistantDelivery.response.400.data`; unknown, required)

### 403

An active personal account is required.

### 404

The resource is unavailable to this user.


Source: https://docs.cloudraker.com/workspace/api/my-assistant/update-my-assistant-delivery/index.md
