Here is the request and response format for creating a Postgres peer. SSH tunneling is optional for peer creation.

Request Fields

peer
object
required

Configuration of the peer to be created.

allow_update
boolean

Whether you wish to update a peer with this name if it already exists. Default is false.

Response Fields

status
CREATED|FAILED

Whether the creation/update was successful. If yes, the value will be CREATED. Else it will be FAILED.

message
string

Error message if any