cancelEnrollment
Cancel an enrollment for an account and a set of supply points.
Arguments
- KT-CT-10312: Mutation not enabled in this environment.
- KT-CT-10318: Enrollment process not found.
- KT-CT-10319: Enrollment process failed to cancel.
- KT-CT-10320: Enrollment process not cancellable.
- KT-CT-10321: Enrollment cancellation workflow not defined.
- KT-CT-10323: Enrollment process failed to cancel.
- KT-CT-10331: Missing required process number.
- KT-CT-10338: Enrollment process cannot be cancelled.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation CancelEnrollment($input: CancelEnrollmentInput!) {
cancelEnrollment(input: $input) {
enrollmentProcess {
... on JoinSupplierProcessType {
...JoinSupplierProcessTypeFragment
}
... on OccupyPropertyProcessType {
...OccupyPropertyProcessTypeFragment
}
}
message
}
}
Variables
{
"input": CancelEnrollmentInput
}
Response
{
"data": {
"cancelEnrollment": {
"enrollmentProcess": JoinSupplierProcessType,
"message": "effect-role-with-whole-it"
}
}
}