Waiting for engine...
Skip to main content

aiAliasDelete

Updated 

Delete a single AI Agent alias from the AI Agent Registry.

Description: This mutation removes an AI Agent alias by its unique identifier.

Implementation logic:

  1. If DRAFT(TestAlias) alias id provided : Delete entire agent
  2. If non-DRAFT alias id provided : Delete alias only
  3. If after alias deletion associated version has no remaining aliases : Delete version

Input Parameters:

  • id: ID! - Required. The unique identifier of the AI Agent alias to be deleted.

Response:

  • Returns a boolean indicating whether the alias was successfully deleted.

Example Request:

mutation DeleteAlias {
aiAliasDelete(id: "adafc48d-ca0b-4087-8aeb-29568bdd78e4")
}

Example Response (success):


{
"data": {
"aiAliasDelete": true
}
}

aiAliasDelete(
id: ID!
): Boolean!

Arguments​

aiAliasDelete.id ● ID! non-null scalar miscellaneous {#id}

Type​

Boolean scalar miscellaneous

The Boolean scalar type represents true or false.

On this Page