aiAgentGuardrailDisassociation
Disassociate agents from an AI Agent Guardrail in the AI Agent Registry.
Description: This mutation removes associations between an AI Agent Guardrail and agents. The guardrail itself is never deleted, only associations are removed.
Input Parameters (AiAgentGuardrailDisassociationInput):
id: ID! - Required. Unique identifier of the AI agent guardrail.agentIds: [ID!] - Optional. One or more agent IDs whose DRAFT version associations are to be removed. If an empty array is provided, all DRAFT version associations will be deleted.
Response:
- Returns a boolean value indicating the success status of the disassociation operation.
Example Request (remove specific associations):
mutation RemoveSpecificGuardrailAssociations {
aiAgentGuardrailDisassociation(input: {
id: "36583237-e5e1-4a12-b48c-f18e5a550724"
agentIds: ["37b35a1c-10d9-4be3-b5b9-604eb62f99f4", "4d9e7221-5cde-44dc-84f7-3175874e2725"]
})
}
Example Response (success):
{
"data": {
"aiAgentGuardrailDisassociation": true
}
}
Example Request (remove all associations):
mutation RemoveAllGuardrailAssociations {
aiAgentGuardrailDisassociation(input: {
id: "36583237-e5e1-4a12-b48c-f18e5a550724"
agentIds: []
})
}
Example Response (success):
{
"data": {
"aiAgentGuardrailDisassociation": true
}
}
aiAgentGuardrailDisassociation(
input: AiAgentGuardrailDisassociationInput!
): Boolean!
Arguments
aiAgentGuardrailDisassociation.input ● AiAgentGuardrailDisassociationInput! non-null input agent-control-tower {#input}
Type
Boolean scalar miscellaneous
The Boolean scalar type represents true or false.
Was this topic helpful?