Put a task under another task, or send null to make it a top level task again. 409 subtask_cycle when it would sit under itself; 404 parent_not_found when the caller cannot see the parent. The connected member also needs to be allowed to change tasks
POST
https://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/parentRecent 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.
Body Params
parent_task_idinteger | nullrequiredThe new parent task, or null for none.
Request
curl --request POST \ --url https://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/parent \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "parent_task_id": 41}'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": {}}