SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
Tasks

Take back your approval while its stage is still open. Refused with 409 nothing_to_withdraw when you have no approval in the open stage

POSThttps://app.softsolz.uk/api/v1/services/tasks/assignments/{id}/withdraw-approval

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.

Response

Response Body

withdrawnbooleanTrue when your approval was taken back.
assignment_idintegerThe work the approval was on.
stage_indexintegerThe stage, counted from 0.
submission_idintegerThe attempt the approval was on.

Request

curl --request POST \
--url https://app.softsolz.uk/api/v1/services/tasks/assignments/{id}/withdraw-approval \
--header 'Authorization: Bearer sk_live_your_key'

Credentials

Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.

Response · 200

{
"data": {
"withdrawn": true,
"assignment_id": 1,
"stage_index": 1,
"submission_id": 1
}
}