Mutation
mutation DeleteDinoAiAgentDefinition($input: DeleteDinoAiAgentDefinitionInput!) {
deleteDinoAiAgentDefinition(input: $input) {
deletedSlug
}
}Variables
{
"input": {
"slug": "string"
}
}Response
{
"data": {
"deleteDinoAiAgentDefinition": {
"deletedSlug": "string"
}
}
}deleteDinoAiAgentDefinition
Deletes a DinoAI agent definition in the workspace the key targets: a workspace key’s own, or the one in the X-Paradime-Workspace header. An agent another agent delegates to can’t be deleted. Needs dinoai:admin:write.
MUTATION
deleteDinoAiAgentDefinition(input: DeleteDinoAiAgentDefinitionInput!): DeleteDinoAiAgentDefinitionPayload!Arguments
input
required
The agent to delete.
deletedSlug
String!
The slug of the deleted agent, free to reuse.
Mutation
mutation DeleteDinoAiAgentDefinition($input: DeleteDinoAiAgentDefinitionInput!) {
deleteDinoAiAgentDefinition(input: $input) {
deletedSlug
}
}Variables
{
"input": {
"slug": "string"
}
}Response
{
"data": {
"deleteDinoAiAgentDefinition": {
"deletedSlug": "string"
}
}
}