# Snooze a lead

Takes one lead out of the due list until a date and writes that date onto its follow-up cell. Body {"until": RFC3339}; a null until un-snoozes and leaves the follow-up date where it is. Refuses a date in the past. Reach for it when somebody says 'not until Tuesday' - editing the follow-up cell alone changes the intention and does NOT hide the row.

Access class: `def:read`.

## Endpoint

`POST /v1/definitions/{key}/rows/{rowId}/snooze`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "until": "string"
  },
  "params": {
    ":key": "string",
    ":rowId": ""
  },
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "followUp": "string",
    "row": {
      "cells": {
        "<uuid-2>": "string",
        "<uuid-4>": "string",
        "<uuid-5>": "string"
      },
      "id": "",
      "position": 1.5,
      "source": "string"
    }
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
