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": null,
"primary": null,
"headerText": null
}
},
"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": null,
"primary": null,
"headerText": null
}
},
"privateSettings": {
"mailServer": {
"tls": true,
"host": "<string>",
"port": "<string>",
"login": "<string>",
"password": "<string>"
}
},
"reseller": 123,
"deleted": true
}
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": null,
"primary": null,
"headerText": null
}
},
"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": null,
"primary": null,
"headerText": null
}
},
"privateSettings": {
"mailServer": {
"tls": true,
"host": "<string>",
"port": "<string>",
"login": "<string>",
"password": "<string>"
}
},
"reseller": 123,
"deleted": true
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
OK.
The response is of type object
.
Was this page helpful?