Delete draft expenses
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
DELETE /api-v1/expenses/draft/{id}
curl \
-X DELETE http://wyzio.app/api-v1/expenses/draft/{id} \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"error": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"data": "string",
"errorCode": "string",
"fieldName": "string",
"isSevere": true
}
]
},
"valid": true
}