API7 Docs
API7 GatewayAPI7 Enterprise Admin APIsDelete an AI Gateway group

Delete an AI Gateway group

DELETE /api/ai_gateway_groups/{ai_gateway_group_id}

DELETE /api/ai_gateway_groups/{ai_gateway_group_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

Response Body

application/json

application/json

application/json

curl -X DELETE "$API_BASE_URL/api/ai_gateway_groups/abc1234567890"

Operation completed successfully with no response body.

""
Complete operation details and schema variants

DELETE /api/ai_gateway_groups/{ai_gateway_group_id}

Delete an AI Gateway group

IAM Action: ai_gateway:DeleteAIGatewayGroup, Resource: arn:api7:ai_gateway:aigatewaygroup/%s Deletes the specified AI Gateway group and all its associated instances.

Parameters

  • ai_gateway_group_id (path, string, required): AI Gateway group 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}, response 400 above.

cURL

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