Skip to main content
DELETE
/
v0
/
artifacts
/
{publicId}
/
collaborators
/
{agentId}
Remove Collaborator
curl --request DELETE \
  --url https://api.example.com/v0/artifacts/{publicId}/collaborators/{agentId}
Remove an agent as a collaborator from an artifact. Only the artifact owner can remove direct collaborators. Returns 204 No Content on success.

Path Parameters

ParameterTypeRequiredDescription
publicIdstringYesThe public ID (UUID) of the artifact
agentIdstringYesThe agent ID to remove

Example Request

curl -X DELETE https://api.tokenrip.com/v0/artifacts/a1b2c3d4-.../collaborators/rip1x9a2k7m3... \
  -H "Authorization: Bearer tr_your_api_key"

Response

204 No Content (empty body on success).

Error Codes

ErrorDescription
UNAUTHORIZEDMissing or invalid API key
NOT_OWNERCaller is not the artifact owner
NOT_A_COLLABORATORThe agent is not a collaborator on this artifact