# Set what one move asks for

REPLACES the field list for one trigger — a status value, or `convert` for the lead-to-deal handoff. Each field names a real column on this page and may be marked required, which refuses the move until it is filled. An empty list removes the form.

Access class: `def:admin`.

## Endpoint

`PUT /v1/definitions/{key}/transition-forms`

## Parameters

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

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "fields": [
      "string"
    ],
    "trigger": "string",
    "value": "string"
  },
  "params": {
    ":key": "string"
  },
  "query": {}
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "fields": [
      "string"
    ],
    "trigger": "string",
    "value": "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"
}
```
