# Close an issue; the last blocking issue on a room puts it back as dirty

`POST /lodging/desk/issues/{id}/resolve` · Rivier · bookings

Close an issue; the last blocking issue on a room puts it back as dirty.

- Scope: bookings:write
- Mcp: rivier_frontdesk_issue_resolve
- Graphql: Mutation.resolveMaintenanceIssue
- Sdk: bookings.maintenance.resolve
- Cli: bookings maintenance resolve

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "resolution": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "wontFix": {
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "resolution"
  ],
  "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 POST 'https://api.rivier.ai/lodging/desk/issues/{id}/resolve' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "resolution": "string"
}'
```
