Developers
API referenceReferenceExpense claims

Delete every leg of an expense claim trip

Rows of one visible claim. Writes need the caller's own draft.

DELETE
/v1/business/{business_slug}/expense_claims/{claim_id}/trips/{trip_id}/legs/

Path Parameters

business_slug*string

Business slug that scopes this request. If you do not have one yet, call common_accessible_businesses_list and pick a slug from the response.

claim_id*integer

Identifier of the target claim. If the ID is not known, use the corresponding list endpoint with relevant filters and/or the search parameter to discover valid IDs.

trip_id*integer

Identifier of the target trip. If the ID is not known, use the corresponding list endpoint with relevant filters and/or the search parameter to discover valid IDs.

Response Body

curl -X DELETE "https://example.com/v1/business/string/expense_claims/0/trips/0/legs/"
Empty