updateCustomErrorPageConfig
Update the custom error page configuration for an environment.
updateCustomErrorPageConfig(
input: UpdateCustomErrorPageConfigInput!
): CustomErrorPageConfig!
Example
- Query
- Variables
- Response
mutation ($input: UpdateCustomErrorPageConfigInput!) {
updateCustomErrorPageConfig(input: $input) {
content
strategy
suggestedContentFromRepo
}
}
{
"input": {
"content": "content",
"environmentId": 42,
"strategy": "CUSTOM_FROM_API"
}
}
{
"data": {
"updateCustomErrorPageConfig": {
"content": "content",
"strategy": "CUSTOM_FROM_API",
"suggestedContentFromRepo": "suggestedContentFromRepo"
}
}
}
Arguments
updateCustomErrorPageConfig.input ● UpdateCustomErrorPageConfigInput! non-null input common
The environment and custom error page settings to apply.
Type
CustomErrorPageConfig object common
The custom error page configuration for an environment.