# Inbox mailbox configure

`PUT /workspace/inbox/mailbox-settings` · Rivier · inbox

Change a mailbox's sending switch, daily ceiling or undo window (owner or manager; turning sending on for a linked mailbox is the owner's).

- Scope: inbox:write
- Graphql: Mutation.inboxMailboxConfigure
- Sdk: inbox.mailbox.configure
- Cli: inbox mailbox configure

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "minLength": 3,
      "maxLength": 254
    },
    "sendEnabled": {
      "type": "boolean"
    },
    "dailyCap": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 100000
        },
        {
          "type": "null"
        }
      ]
    },
    "undoSeconds": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 30
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X PUT 'https://api.rivier.ai/workspace/inbox/mailbox-settings' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "address": "string"
}'
```
