Sign in

Update Provider Setting

PUT https://{organization}.myguper.com/api/sender/provider-settings

Updates an existing provider settings entry. The id is required; the remaining fields are optional and only the ones present in the body are written.

When default: true is sent, every other entry of the same provider type in the organization is automatically un-defaulted, so there is at most one default per type.

Try-it values populated from environment ACME (Demo)


Authentication

Token

Send your user token in the x-guper-authorization header.

Headers

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Request body

Content-Type: application/json

{
    "id": 12,
    "default": true,
    "data": {
        "host": "smtp2.example.com",
        "port": "587",
        "username": "sender@example.com",
        "password": "********",
        "encryption": "tls"
    }
}

Responses

{ "id": 12, "updated": true }

Related

Copied to clipboard