Rotate API secret

Generates a new secret for the authenticated API user. Only API users (not regular email users) can use this endpoint.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

x-admin-api-keystringRequired

Response

Secret rotated successfully
secretstring
The newly generated secret for the API credentials

Errors