cURL
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" }
Updates a specified matter’s archive with patch operations.
When request is successful. The archive patch has been accepted and will be updated shortly.
The response is of type object.
object