Skip to main content

Delete CSM Run

  • method: DELETE
  • headers:
    • content-type: application/json
    • authorization: API Key token
  • endpoint: /csm/lrc

request body payload

  • run_id: string. run id.
  • 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/csm/lrc' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer API-KEY-goes-here' \
--data '{
"run_id": "csm__20241015____run-1-id",
"type": "hard"
}'

response payload

  • code: http status of the response
  • msg: message

sample response

{
"code": 200,
"msg": "deleted"
}