Help Center/ API Gateway/ API Reference (Paris Region)/ Shared Gateway APIs/ API Management/ Taking an Effective Version of an API Offline
Updated on 2022-02-21 GMT+08:00

Taking an Effective Version of an API Offline

Function

This API is used to remove an effective version of an API. After this operation, the API cannot be called in the environment in which it takes effect.

This API is provided for FunctionGraph.

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/versions/{version_id}

The following table lists the parameter in the URI.

Table 2 Parameter description

Parameter

Mandatory

Type

Description

version_id

Yes

String

API version ID

Request

N/A

Response

N/A

Status Codes

Table 3 Status codes

Status Code

Description

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Server Internal Error