API7 Docs

Delete a single AI Gateway instance

DELETE /api/ai_gateway_groups/{ai_gateway_group_id}/instances/{ai_gateway_instance_id}

DELETE /api/ai_gateway_groups/{ai_gateway_group_id}/instances/{ai_gateway_instance_id}

Interactive request editor loads with JavaScript.

Authorization

X-API-KEY<token>

In: header

Path Parameters

ai_gateway_group_id*string

AI Gateway group ID.

Length1 <= length
ai_gateway_instance_id*string

AI Gateway instance ID.

Length1 <= length

Response Body

application/json

application/json

application/json

curl -X DELETE "$API_BASE_URL/api/ai_gateway_groups/abc1234567890/instances/aisix-node-001"

Operation completed successfully with no response body.

""
Complete operation details and schema variants

DELETE /api/ai_gateway_groups/{ai_gateway_group_id}/instances/{ai_gateway_instance_id}

Delete a single AI Gateway instance

IAM Action: ai_gateway:DeleteAIGatewayInstance, Resource: arn:api7:ai_gateway:aigatewaygroup/%s Removes the specified AI Gateway instance from its group.

Parameters

  • ai_gateway_group_id (path, string, required): AI Gateway group ID.
  • ai_gateway_instance_id (path, string, required): AI Gateway instance ID.

Responses

  • 200: Operation completed successfully with no response body.
  • 400: Bad Request — The request was malformed or contained invalid parameters. Check the error_msg field for details.
  • value (object, optional): The specific resource.
  • error_msg (string, optional): The error message.
  • 404: Not Found — The requested resource does not exist or has been deleted. Response fields (application/json): identical to DELETE /api/ai_gateway_groups/{ai_gateway_group_id}/instances/{ai_gateway_instance_id}, response 400 above.

cURL

curl -X DELETE '$API_BASE_URL/api/ai_gateway_groups/{ai_gateway_group_id}/instances/{ai_gateway_instance_id}'