PATCH
/
matters
/
{matterId}
/
archive
curl --request PATCH \
  --url https://api.smokeball.com/matters/{matterId}/archive \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "archivedDate": "2022-04-23T14:00:00Z",
  "archiveBoxNumber": "24",
  "archiveComments": "Lot 1",
  "archivedLocation": "Box",
  "destroyDate": "2022-04-29T14:00:00Z",
  "isArchived": true
}'
{
  "id": "<string>",
  "href": "<string>",
  "relation": "<string>",
  "method": "GET"
}

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

matterId
string
required

Body

Response

202 - application/json

When request is successful. The archive patch has been accepted and will be updated shortly.

The response is of type object.