For the complete documentation index, see llms.txt. This page is also available as Markdown.

deleteInvitation

Will delete the invitation for the user.

Examples

mutation DeleteInvitation($invitationId: String!) {
  deleteInvitation(invitationId: $invitationId)
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "invitationId": "example"
}
curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
 "query": "mutation DeleteInvitation($invitationId: String!) { deleteInvitation(invitationId: $invitationId) }",
 "variables": {
    "invitationId": "example"
  }
}'
const query = 'mutation DeleteInvitation($invitationId: String!) { deleteInvitation(invitationId: $invitationId) }';

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: {
      invitationId: "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 deleteInvitation mutation.

Argument
Description
Supported fields

invitationId String! required

ID of the invitation to delete

Fields

Return type: Boolean

Last updated