Delete a billogram draft

Permanently deletes a billogram that is still a draft. Only allowed when the billogram is in state Billogram_State_Unattested. For any other state, the API returns INVALID_OBJECT_STATE with a message indicating that the Delete event is not supported in the current state.

Path Parameters
  • id
    Type: string
    required

    Billogram ID

Responses
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for delete/billogram/{id}
curl 'https://sandbox.billogram.com/api/v2/billogram/{id}' \
  --request DELETE \
  --header 'Authorization: Basic username:password'
{
  "status": "OK",
  "data": {}
}