Update an email provider
Changed onPartial update — any field left out keeps its current value. Most importantly, omitting the credential block (ses_credentials/scaleway_credentials/smtp_credentials) preserves the stored secret, so operators can rename a provider without re-typing passwords. provider_type is immutable; to switch providers, delete and recreate.
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
Provider ID
Request body
Example request
{
"name": "My AWS SES",
"region": "us-east-1",
"scaleway_credentials": {
"project_id": "12345678-1234-1234-1234-123456789012"
},
"ses_credentials": {
"access_key_id": "AKIAIOSFODNN7EXAMPLE"
},
"smtp_credentials": {
"host": "email-smtp.eu-west-1.amazonaws.com",
"port": 587,
"username": "AKIAIOSFODNN7EXAMPLE"
}
}Response
Provider updated
Example response
{
"created_at": "2025-12-03T10:30:00Z",
"name": "My AWS SES",
"region": "us-east-1",
"updated_at": "2025-12-03T10:30:00Z"
}Changes
- breaking
the request property
smtp_credentials/oneOf[#/components/schemas/SmtpCredentialsRequest]/passwordbecame not nullable - breaking
the
scaleway_credentials/oneOf[#/components/schemas/ScalewayCredentialsRequest]/api_keyrequest property format changed from no format topassword - breaking
the
ses_credentials/oneOf[#/components/schemas/SesCredentialsRequest]/secret_access_keyrequest property format changed from no format topassword
2 more changes in this revision
- breaking