API Keys

Update API key

Rename a key or change its scopes. The secret is unchanged; scope changes apply on the key's next request. Requires the apikey:manage scope when called with an API key.

patch/v1/api-keys/{id}

Request

  • Base URL: https://smtpfa.st/api
  • URL: https://smtpfa.st/api/v1/api-keys/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The API key ID

Request body

namestring
scopesstring[]

Replaces the key's scopes

Response

The updated key

idstring
namestring
keyPrefixstring
scopesstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.