cURL
curl --request DELETE \ --url https://api.letpiper.com/v1/orgs/{org_id}/knowledge/collections/{collection_id}/agents \ --header 'Authorization: Bearer <token>'
{ "accessMode": "all", "agentIds": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] }
Remove all agent restrictions from a collection. Requires: knowledge:update permission.
Platform token (starts with pat_)
Successful Response
Response showing which agents can access a collection.
Whether all agents have access or only specific ones
all
specific
List of agent IDs with access (only present when access_mode is 'specific')