> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adrelay.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Redirect URI

> Remove a registered OAuth redirect URI.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.adrelay.dev/v1/redirect-uris/uri_abc123" \
    -H "X-API-Key: $ADRELAY_API_KEY"
  ```

  ```javascript Node.js theme={null}
  import { AdRelay } from "@adrelay/sdk";

  const client = new AdRelay({ apiKey: process.env.ADRELAY_API_KEY });
  await client.redirectUris.delete("uri_abc123");
  ```

  ```python Python theme={null}
  import requests

  requests.delete(
      "https://api.adrelay.dev/v1/redirect-uris/uri_abc123",
      headers={"X-API-Key": "your-api-key-here"},
  )
  ```
</RequestExample>

<ResponseExample>
  ```json 204 theme={null}
  (No content)
  ```

  ```json 404 theme={null}
  {
    "error": {
      "code": "NOT_FOUND",
      "message": "Redirect URI not found",
      "retryable": false,
      "requestId": "req_abc123"
    }
  }
  ```
</ResponseExample>

Removes a custom redirect URI. Default localhost URIs cannot be deleted.
