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

Deleting APIs

Description

This API is used to delete APIs in batches.

URI

  • URI format

    POST /v1/{project_id}/service/apis/batch-delete

  • Parameter description

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID. For details about how to obtain the project ID, see Project ID and Account ID.

    ids

    Yes

    String[]

    IDs of the APIs to be deleted

Request Message

  • Example request
    [
      "6b9e682fd6d0ef7c0f674701adb20762",
      "42505b429b53b42a9b535640617d9b17"
    ]

Response

  • Example response

    None

Status Code

Status Code

Description

204

Deleting APIs in batches is successful.

For details about status codes, see Status Codes.