Mutation
mutation ChangeBillingPlan($input: ChangeBillingPlanInput!) {
changeBillingPlan(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"planKey": "LEGACY"
}
}Response
{
"data": {
"changeBillingPlan": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
changeBillingPlan
Switches the workspace to a different billing plan. Use previewBillingPlanChange first to show the user the cost impact before applying the change.
MUTATION
changeBillingPlan(input: ChangeBillingPlanInput!): ChangeBillingPlanOutput!Arguments
input
required
Returns
error
Mutation
mutation ChangeBillingPlan($input: ChangeBillingPlanInput!) {
changeBillingPlan(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"planKey": "LEGACY"
}
}Response
{
"data": {
"changeBillingPlan": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

