deleteIncidentComment
Delete an incident comment (author only).
Examples
curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
"query": "mutation DeleteIncidentComment($commentId: String!) { deleteIncidentComment(commentId: $commentId) }",
"variables": {
"commentId": "example"
}
}'const query = 'mutation DeleteIncidentComment($commentId: String!) { deleteIncidentComment(commentId: $commentId) }';
fetch("https://api.cloud.ox.security/api/apollo-gateway", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "YOUR_API_TOKEN"
},
body: JSON.stringify({
query: query,
// This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
variables: {
commentId: "example"
}
})
})
.then(response => response.json())
.then(result => console.log(JSON.stringify(result, null, 2)))
.catch(error => console.error('Error:', error));Arguments
You can use the following argument(s) to customize your deleteIncidentComment mutation.
Argument
Description
Supported fields
commentId String! required
Fields
Return type: Boolean!
You can use the following field(s) to specify what information your deleteIncidentComment mutation will return. Please note that some fields may have their own subfields.
Last updated