Update API keys
PATCH https://api.sendgrid.com/v3/api_keys/:api_key_id
This endpoint allows you to update the name of an existing API Key.
A JSON request body with a name
property is required.
The API Keys feature allows customers to be able to generate an API Key credential which can be used for authentication with the SendGrid v3 Web API or the Mail API Endpoint.
URI Parameters
URI Parameter | Type | Required? | Description |
---|---|---|---|
apikeyid | string | required | The ID of the API Key you are updating. |
When updating a key to include
user
orsubuser
scopes, use basic authenitcation.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Content-Type | string |