Skip to content
Leadtime
English
Esc
navigateopen⌘Jpreview

Remove the link between an object and a task

POST/objects/tasks/unlink
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Request body
requiredapplication/json
objectIdstring<uuid>required
Object instance UUID
taskIdstring<uuid>required
Task UUID
Responses
200
successbooleanrequired
Operation success flag
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X POST "https://leadtime.app/api/public/objects/tasks/unlink" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "objectId": "<uuid>",
  "taskId": "<uuid>"
}'
Response
{
  "success": true
}