Update the name & scopes of an API Key

PUT https://api.sendgrid.com/v3/api_keys/:api_key_id

This endpoint allows you to update the name and scopes of a given API key.

A JSON request body with a name property is required. Most provide the list of all the scopes an api key should have.

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.

When updating a key to include user or subuser scopes, use basic authenitcation.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Content-Typestring