Deleting an API Group

Function

This API is used to delete an API group.

This operation will also delete all resources associated with the API group, including APIs, independent domain names, SSL certificates, listing information, as well as the authorization, orchestration, whitelist, and authentication enhancement information of all APIs in the API group. The operation will unbind the external domain names from the subdomain name based on the CNAME resolution mode.

URI

The following table lists the HTTP/HTTPS request method and URI of the API.

Table 1 HTTP/HTTPS request method and URI

Request Method

URI

DELETE

/v1/{project_id}/apigw/instances/{instance_id}/api-groups/{id}

The following table lists the parameters in the URI.

Table 2 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID, which can be obtained by the administrator on the My Credentials page.

instance_id

Yes

String

Instance ID, which can be obtained from the dedicated gateway information on the API Gateway console.

id

Yes

String

API group ID

Request

N/A

Response

N/A

Status Codes

Table 3 Status codes

Status Code

Description

204

No Content

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict

500

Server Internal Error