apicheats.dev resend/llms.txt Raw .md
PATCH

PATCH /api-keys/{api_key_id} — Resend API

Resend API

Update an existing API key

Base URL
https://api.resend.com
Auth
Authorization: Bearer <RESEND_API_KEY>
Last verified
2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 168 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.

cURL

curl -X PATCH 'https://api.resend.com/api-keys/api-key-id' \  -H "Authorization: Bearer $RESEND_API_KEY" \  -H 'User-Agent: my-app/1.0' \  -H 'Content-Type: application/json' \  -d '{  "name": "example-name"}'

Parameters

Name In Type Required Description
api_key_id path string Yes The API key ID.
name body string Yes The API key name.

Response 200 OK

{
  "object": "api_key",
  "id": "string"
}
Get a free Resend API key → sponsored

Affiliate link - we may earn a commission, at no extra cost to you.