Mutation
mutation DeleteConsumptionBudget($input: DeleteConsumptionBudgetInput!) {
deleteConsumptionBudget(input: $input) {
consumptionBudget {
unit
scope
workspace {
name
uid
createdAt
dbtVersion
supportedDbtVersions
dbtPartialParsing
}
userUid
user {
email
uid
fullName
accountType
status
inviteStatus
}
agentSlug
}
}
}Variables
{
"input": {
"target": {}
}
}Response
{
"data": {
"deleteConsumptionBudget": {
"consumptionBudget": {
"unit": "DINOAI_CREDITS",
"scope": "PLATFORM",
"workspace": {
"name": "string",
"uid": "string",
"createdAt": "value",
"dbtVersion": "string",
"supportedDbtVersions": [
"string"
],
"dbtPartialParsing": true
},
"userUid": "string",
"user": {
"email": "string",
"uid": "string",
"fullName": "string",
"accountType": "ADMIN",
"status": "ACTIVE",
"inviteStatus": "PENDING"
},
"agentSlug": "string"
}
}
}
}deleteConsumptionBudget
Deletes the monthly budget of one target, which is then unlimited. Needs budgets:write.
MUTATION
deleteConsumptionBudget(input: DeleteConsumptionBudgetInput!): DeleteConsumptionBudgetPayload!Arguments
input
required
The budget to delete.
Returns
consumptionBudget
The target, now with no budget: its monthlyAllowance and updatedAt read as null.
Mutation
mutation DeleteConsumptionBudget($input: DeleteConsumptionBudgetInput!) {
deleteConsumptionBudget(input: $input) {
consumptionBudget {
unit
scope
workspace {
name
uid
createdAt
dbtVersion
supportedDbtVersions
dbtPartialParsing
}
userUid
user {
email
uid
fullName
accountType
status
inviteStatus
}
agentSlug
}
}
}Variables
{
"input": {
"target": {}
}
}Response
{
"data": {
"deleteConsumptionBudget": {
"consumptionBudget": {
"unit": "DINOAI_CREDITS",
"scope": "PLATFORM",
"workspace": {
"name": "string",
"uid": "string",
"createdAt": "value",
"dbtVersion": "string",
"supportedDbtVersions": [
"string"
],
"dbtPartialParsing": true
},
"userUid": "string",
"user": {
"email": "string",
"uid": "string",
"fullName": "string",
"accountType": "ADMIN",
"status": "ACTIVE",
"inviteStatus": "PENDING"
},
"agentSlug": "string"
}
}
}
}