resetIssuesSla
Resets the SLA of the given issues back to the SLA from the organization SLA settings, removing any custom or cancelled SLA.
Examples
mutation ResetIssuesSLA($input: ResetIssuesSLAInput!) {
resetIssuesSLA(input: $input) {
success
modifiedCount
matchedCount
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"input": {
"issueIds": ["a1b2c3d4-issue-id"],
"actionSource": "Manual"
}
}curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
"query": "mutation ResetIssuesSLA($input: ResetIssuesSLAInput!) { resetIssuesSLA(input: $input) { success modifiedCount matchedCount } }",
"variables": {
"input": {
"issueIds": ["a1b2c3d4-issue-id"],
"actionSource": "Manual"
}
}
}'Arguments
You can use the following argument(s) to customize your resetIssuesSLA mutation.
input ResetIssuesSLAInput! required
Input containing the issue identifiers to reset the SLA for.
issueIds [String!]!
actionSource ActionSource
Fields
Return type: UpdateIssuesSLAResponse
You can use the following field(s) to specify what information your resetIssuesSLA mutation will return. Please note that some fields may have their own subfields.
success Boolean
Whether the update completed successfully.
modifiedCount Int
Number of issues whose SLA was changed.
matchedCount Int
Number of issues that matched the given identifiers.
Last updated