DELETE
/oauth/grants/{oauth_grant_id}
Resend APIRevoke an OAuth grant
- Base URL
- https://api.resend.com
- Auth
- Authorization: Bearer <RESEND_API_KEY>
- Last verified
- 2026-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 160 tokens · Vary: Accept
→ 160 tokens · Vary: Accept
Critical gotchas
All requests must include a User-Agent header (e.g. User-Agent: my-app/1.0) or the API returns HTTP 403.
The to field is an array of strings, even when sending to a single recipient.
cURL
curl -X DELETE 'https://api.resend.com/oauth/grants/oauth-grant-id' \ -H "Authorization: Bearer $RESEND_API_KEY" \ -H 'User-Agent: my-app/1.0'Get a free Resend API key → sponsored
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| oauth_grant_id | path | string | Yes | The OAuth grant ID. |
Response 200 OK
{
"object": "oauth_grant",
"id": "string",
"revoked_at": "2023-10-06T23:47:56.678Z",
"revoked_reason": "string"
}