PUT
/
iam
/
reselling
/
settings
Edit branding settings
curl --request PUT \
  --url https://api.gcore.com/iam/reselling/settings \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "domain": "<string>",
  "publicSettings": {
    "brandName": "<string>",
    "fromEmail": "jsmith@example.com",
    "showApiDoc": true,
    "websiteLink": "<string>",
    "supportEmail": "<string>",
    "supportPhone": "<string>",
    "agreementLink": "<string>",
    "showStatusPage": "<string>",
    "entryBaseDomain": "<string>",
    "showKnowledgeBase": true,
    "colors": {
      "header": "<string>",
      "primary": "<string>",
      "headerText": "<string>"
    }
  },
  "privateSettings": {
    "mailServer": {
      "tls": true,
      "host": "<string>",
      "port": "<string>",
      "login": "<string>",
      "password": "<string>"
    }
  }
}'
{
  "domain": "<string>",
  "publicSettings": {
    "brandName": "<string>",
    "fromEmail": "jsmith@example.com",
    "showApiDoc": true,
    "websiteLink": "<string>",
    "supportEmail": "<string>",
    "supportPhone": "<string>",
    "agreementLink": "<string>",
    "showStatusPage": "<string>",
    "entryBaseDomain": "<string>",
    "showKnowledgeBase": true,
    "colors": {
      "header": "<string>",
      "primary": "<string>",
      "headerText": "<string>"
    }
  },
  "privateSettings": {
    "mailServer": {
      "tls": true,
      "host": "<string>",
      "port": "<string>",
      "login": "<string>",
      "password": "<string>"
    }
  },
  "reseller": 123,
  "deleted": true
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Body

application/json
domain
string
required

Base control panel domain.

The desired upper-level domain for the control panel.

For example, if specified mycompany.com, then control panel will be available at auth.mycompany.com, cdn.mycompany.com, accounts.mycompany.com.

publicSettings
object
required
privateSettings
object
required

Response

OK.

domain
string
required

Base control panel domain.

The desired upper-level domain for the control panel.

For example, if specified mycompany.com, then control panel will be available at auth.mycompany.com, cdn.mycompany.com, accounts.mycompany.com.

publicSettings
object
required
privateSettings
object
required
reseller
integer

Reseller's ID.

deleted
boolean

Deletion flag. If true then entity was deleted.