AgentConnect
Agents

Revoke a repository authorization

Atomically retire existing informational Checks to a non-passing cleanup state and remove the grant. A legacy grant that resolves to the still-authorized workspace repository is removed without retiring its Checks. Already-minted tokens live out their ≤1h expiry (the documented revocation window); the next credential request for a genuinely additional repo is denied.

DELETE
/v1/orgs/{orgId}/agents/{agentId}/repos/{repoAuthId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
agentId*string
repoAuthId*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/orgs/string/agents/string/repos/string"
Empty