updateHSTSSettings
Update HSTS settings for an environment.
updateHSTSSettings(
input: AppEnvironmentHSTSSettingsInput
): AppEnvironmentHSTSSettingsPayload
Example
- Query
- Variables
- Response
mutation ($input: AppEnvironmentHSTSSettingsInput) {
updateHSTSSettings(input: $input) {
app {
active
createdAt
id
name
organizationId
repo
serviceStatus
supportPackage
type
typeId
}
message
success
}
}
{
"input": {
"environmentId": 42,
"id": 42,
"includeSubdomains": true,
"maxAge": 42,
"preload": true
}
}
{
"data": {
"updateHSTSSettings": {
"app": {
"active": true,
"createdAt": "createdAt",
"id": 42,
"name": "A name",
"organizationId": 42,
"repo": "repo",
"serviceStatus": "serviceStatus",
"supportPackage": "supportPackage",
"type": "type",
"typeId": 42
},
"message": "message",
"success": true
}
}
}
Arguments
updateHSTSSettings.input ● AppEnvironmentHSTSSettingsInput input common
The HSTS settings to apply.
Type
AppEnvironmentHSTSSettingsPayload object common
Response payload for HSTS Settings updates