# Re-aim or pause an inbound address

Changes where an inbound address routes, or switches it off without deleting it. The address itself never changes - a different address is a different place.

Access class: `workspace:admin`.

## Endpoint

`PATCH /v1/workspace/inbound/{id}`

## Parameters

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

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "active": true,
    "routesTo": {
      "kind": "string",
      "ref": "string"
    }
  },
  "params": {
    ":id": "string"
  },
  "query": {}
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "active": true,
    "address": "string",
    "createdAt": "string",
    "domainId": "",
    "id": "",
    "localPart": "string",
    "routesTo": {
      "kind": "string",
      "ref": "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"
}
```
