[Sandbox] Simulate unpublishing a contractor tax statement

The Contractor Tax Statements API is currently in limited preview, and is not yet generally available.

Simulate unpublishing a published contractor tax statement in sandbox. Sandbox-only: in production this endpoint returns a 404.

The statement must be in published publication status and must not be included in an employer copy aggregate. Clears published_at and document, reverting the statement to draft. Returns the contractor tax statement. Requires an API key with the contractor:write or contractor:admin scope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the contractor tax statement

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json