Skip to main content

Delete Change Request

Delete a change request by ID by sending an HTTPS POST request to https://graph.prod.firemon.cloud/graphql.

Set the Authorization header to the idToken from Authentication.

Only the request's creator or its last updater can delete a request. The mutation returns the deleted request's ID.

The body of the request:

{
"query": "mutation deleteChangeRequest($id: String!) { deleteChangeRequest(id: $id) }",
"operationName": "deleteChangeRequest",
"variables": { "id": "the change request's ID" }
}

An example using cURL:

curl --request POST \
--url https://graph.prod.firemon.cloud/graphql \
--header 'Authorization: IdToken' \
--header 'Content-Type: application/json' \
--data '{"query":"mutation deleteChangeRequest($id: String!) { deleteChangeRequest(id: $id) }","operationName":"deleteChangeRequest","variables":{"id":"ID"}}'