Delete an accountant task
DELETE/accountant-tasks/:code
Soft delete an accountant task (must be in NEW status). Restricted to the legal entities the caller reaches through their organizational units: a task belonging to any other entity, and a task belonging to none, answers 404 exactly like an unknown code. ADMIN is unrestricted.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 429
- 500
Successfully deleted task
Bad request or task not deletable
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Task not found, or outside the caller's legal-entity scope
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal server error