curl --request PATCH \
--url https://staging.api.us.aptlydone.com/decision/v1/decisions/bulk-archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"tenantId": "105fa115-52d0-4466-baff-740447a60774",
"decisionIds": [
"7df90da4-0634-40b9-abf5-6e97a222cfb8",
"5378637c-0098-457f-94a4-1cc983593f13"
]
}'
{
"updateCount": 5
}
curl --request PATCH \
--url https://staging.api.us.aptlydone.com/decision/v1/decisions/bulk-archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"tenantId": "105fa115-52d0-4466-baff-740447a60774",
"decisionIds": [
"7df90da4-0634-40b9-abf5-6e97a222cfb8",
"5378637c-0098-457f-94a4-1cc983593f13"
]
}'
{
"updateCount": 5
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Decisions archived successfully
The response is of type object
.