# Change the caller's own desk settings

`PUT /workspace/inbox/prefs` · Rivier · inbox

Change the caller's own desk settings.

- Scope: inbox:write
- Graphql: Mutation.inboxPrefsUpdate
- Sdk: inbox.prefs.update
- Cli: inbox prefs update

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "undoSeconds": {
      "type": "integer",
      "minimum": 0,
      "maximum": 30
    },
    "density": {
      "type": "string",
      "enum": [
        "compact",
        "comfortable",
        "spacious"
      ]
    },
    "defaultSignatureId": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "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/prefs' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "undoSeconds": 0,
  "density": "compact",
  "defaultSignatureId": "string"
}'
```
