Delete Disclosures Run
delete a disclosures run.
- method: DELETE
- headers:
- content-type: multipart/form-data
- authorization: API Key token
- endpoint:
/disclosures/:run_id
request body payload
type: string. otional. deletion type.'soft'or'hard'. defaults to'soft'.
sample request
curl --location --request DELETE 'https://api.i17.actserv-africa.com/api/v2/disclosures/{{run-id-here}}' \
--header 'Authorization: Bearer API-KEY-goes-here' \
--form 'type="hard"' \
response payload
code: http status of the responsemsg: message
sample response
{
"code": 200,
"msg": "deleted"
}