Remove the approval stages from a category. Work already being reviewed keeps its stages. Refused with 404 approval_policy_not_found when none is set
DELETE
https://app.softsolz.uk/api/v1/services/tasks/categories/{id}/approval-policyRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.
Response
Response Body
deletedbooleanTrue when the stages were removed.category_idintegerThe category that no longer has stages.Request
curl --request DELETE \ --url https://app.softsolz.uk/api/v1/services/tasks/categories/{id}/approval-policy \ --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": { "deleted": true, "category_id": 1 }}