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.

Response

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

Errors

401
Rotate API Secret Request Unauthorized Error
403
Rotate API Secret Request Forbidden Error
500
Rotate API Secret Request Internal Server Error