Skip to main content

Update an account's alternate contact

PUT 

/accounts/:accountId/contacts/:type

Sets one of an AWS account's three alternate contacts: billing, operations or security.

This is a replace, not a merge. It maps onto the AWS PutAlternateContact call, which overwrites the whole contact. AWS wants all four fields; a field you omit is cleared, not preserved.

Prism validates nothing in the body beyond it being valid JSON, and nothing in {type} at all. Both are forwarded as sent, so AWS's rules are the only rules and a body that breaks them fails upstream as a 502.

Like the other five contacts operations, this one is a proxy to CloudKeeper's ops-service, is present on every deployment, and reports every upstream failure as a 502; see POST /accounts/{accountId}/contacts/get for the full explanation.

Request​

Responses​

The ops-service accepted the update and AWS applied it. The response carries no data, and message is the fixed string Alternate contact updated, the same string for all three contact types.