Updated on 2022-09-01 GMT+08:00

Deleting an API

Function

This API is used to delete an API.

This operation will delete all related resources and binding relationships of the API, such as publication records, backend services, and app authorization information.

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.0/apigw/apis/{id}

The following table lists the parameter in the URI.

Table 2 Parameter description

Parameter

Mandatory

Type

Description

id

Yes

String

API 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