# Close a request as done or partly done, with the note sent to the person

`POST /compliance/center/requests/{id}/complete` · Rivier · compliance

Close a request as done or partly done, with the note sent to the person.

- Scope: compliance:write
- Sdk: compliance.dsarRequest.complete
- Cli: compliance dsar request complete

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "outcome": {
      "type": "string",
      "enum": [
        "fulfilled",
        "partly"
      ]
    },
    "note": {
      "type": "string",
      "minLength": 3,
      "maxLength": 1000
    }
  },
  "required": [
    "outcome",
    "note"
  ],
  "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/compliance/center/requests/{id}/complete' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "outcome": "fulfilled",
  "note": "string"
}'
```
