api-docs

API Sections Resource types Resource type Resources Resource Items (Allocated expense) - GET

Item (Allocated expense) - DELETE

Delete the requested item, you are not able to delete an item which has categories assigned to it, however, key value data and log data will be removed as that is specific to the item itself.

Request

URL : /v3/resource-types/{resource_type_id}/resources/{resource_id}/items/{item_id}

Method : DELETE

Responses

Success

Code : 204

No Content

Constraint error

Code : 409

Content :

{
    "message": "Unable to handle your request, dependent data exists or foreign key error."
}

Not found

Code : 404

Content :

{
    "message": "The expense can't be found."
}

Not authourised

Code : 403

Content :

{
    "message": "Expense can't be found or is not accessible to you."
}