Revoke B2C subscription request
GraphQL endpoint: /company
Cancels a pending B2C subscription request that was sent to a user, before the user responds. Only pending requests can be revoked; requests that have already been accepted or rejected cannot be revoked. The request status changes to REVOKED.
Query
mutation (
$requestId: ID!
) {
revokeB2cSubscriptionRequest (
requestId: $requestId
) {
id
status
type
insertedAt
updatedAt
respondedAt
company {
id
}
user {
id
}
invitedUser {
id
}
}
}
Variables
Response
Last updated