---
title: "Revoke a selected owned agent connection and clear its spending tally. Revoking this connection can stop further tool calls. Cannot create a grant or raise a mandate."
method: DELETE
path: "/v1/agent/connections/{id}"
---

# Revoke a selected owned agent connection and clear its spending tally. Revoking this connection can stop further tool calls. Cannot create a grant or raise a mandate.

`DELETE /v1/agent/connections/{id}`

## Request

- Base URL: `https://api.nowyourlink.com`
- URL: `https://api.nowyourlink.com/v1/agent/connections/{id}`
- Auth: OAuth 2 (authorization code, authorization URL `https://api.nowyourlink.com/oauth/authorize`, token URL `https://api.nowyourlink.com/oauth/token`, scopes: `connections:write`)

Revoke a selected owned agent connection and clear its spending tally. Revoking this connection can stop further tool calls. Cannot create a grant or raise a mandate.

## Path parameters

- `id` string, required: The owned provider grant ID from list_agent_connections.

## Request body

- object

## Response `204`

The account update completed; this response has no body.

## Other responses

- `400`: Invalid arguments or media.
- `401`: The bearer token is missing, expired or invalid. A missing Authorization header returns an empty body.
- `403`: Missing scope, inactive account, ownership or consent failure.
- `404`: No owned record exists for this identifier.
- `405`: The path exists but does not accept this method (agent.method-not-allowed).
- `409`: The current account or creative state blocks this operation.
- `422`: Verification or media validation failed.
- `429`: This grant's 120-per-minute token bucket is empty. Wait Retry-After seconds before retrying.
- `503`: A dependency failed; read current state before retrying a mutation.

---

[API](https://skmtc.dev/nowyourlink/apis/nowyourlink-public-spotlight-api.md) · [All operations](https://skmtc.dev/nowyourlink/apis/nowyourlink-public-spotlight-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nowyourlink/apis/nowyourlink-public-spotlight-api/revisions/cd8408529b48?raw)
