Delete the submission of one compliance document of a worker contract

Deletes what the authenticated worker submitted against a compliance document of one of their Global Payroll contracts. This removes EVERY file of the requirement, not one file: there is no per-file delete on this endpoint. The action is permanent and the files cannot be recovered. The requirement itself is not removed — after the delete it is still listed, as a requirement with nothing submitted, and it can be submitted again. The response carries no body. Only Global Payroll contracts are supported. **Token scopes**: `worker:write`

Authentication

AuthorizationBearer
## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.deel.training/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
OR
AuthorizationBearer
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Path parameters

contract_idstringRequired1-64 characters
Public id of the Global Payroll contract the documents belong to.
document_idstringRequiredformat: "uuid"

Public UUID of the compliance document requirement, as returned in id by the list endpoint.

Response

Submission deleted successfully. No response body.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error