Revoke Task Share
Revoke a task share by deactivating it.
This endpoint sets the share's active status to false, preventing further cloning.
The share link will no longer work for cloning, but the record is preserved for analytics.
Revoking a share:
- Sets active = false
- Prevents cloning through the share link
- Preserves share record and view count
- Cannot be undone (create a new share instead)
Requires edit permission on the task.
Authentication
AuthorizationBearer
API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.
OR
AuthorizationBearer
API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.
Path parameters
org_id
The unique identifier of the organization.
project_id
The unique identifier of the project.
task_id
The specific Task to reference.
Response
Share successfully revoked
id
task_id
task_revision_id
user_id
task_name
Name of the associated task
short_id
views_count
active
created
modified
title
description
expires_at
task_run_id
Optional TaskRun ID included as an example of the task's performance.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error