updateAutomaticSecurityPullRequests
Update automatic security pull request settings for an environment.
updateAutomaticSecurityPullRequests(
input: UpdateAutomaticSecurityPullRequestsInput!
): AutomaticSecurityPullRequestsSettings!
Example
- Query
- Variables
- Response
mutation ($input: UpdateAutomaticSecurityPullRequestsInput!) {
updateAutomaticSecurityPullRequests(input: $input) {
enabled
notificationsConfigured
}
}
{
"input": {
"appId": 42,
"enabled": true,
"environmentId": 42
}
}
{
"data": {
"updateAutomaticSecurityPullRequests": {
"enabled": true,
"notificationsConfigured": true
}
}
}
Arguments
updateAutomaticSecurityPullRequests.input ● UpdateAutomaticSecurityPullRequestsInput! non-null input common
The application, environment, and saved preference.
Type
AutomaticSecurityPullRequestsSettings object common
Saved automatic security pull request settings for an environment.