delete
Belege > REST Resource: receipts.v2 > delete
delete
https://europe-west1-epap-fg44.cloudfunctions.net/receipts
/v2/delete
delete

Musteranfrage

1
curl --request POST "https://europe-west1-epap-fg44.cloudfunctions.net/receipts/v2/delete" \
2
-H "Authorization: Bearer [ACCESS_TOKEN]" \
3
-H "epap_id: [EPAP_ID]" \
4
-H "content-length: 0"
Copied!
In dem obigen Beispiel ersetzen Sie [ACCESS_TOKEN] mit dem im Login Vorgang generierten Token.
Eine erfolgreiche Anfrage wird mit dem HTTP-Statuscode 200 OK beantwortet.

Beispielantwort

1
{
2
"message": "Successfully deleted receipt. In case it was already claimed by a user, a notification was sent to the user.",
3
"status": "OK",
4
"status_code": 200
5
}
Copied!
Last modified 1mo ago