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

Moving APIs to Another Catalog

Description

This API is used to move APIs to another catalog.

URL

  • URI format

    POST /v1/{project_id}/service/servicecatalogs/apis/batch-move

  • 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.

Request Message

  • Example request
    {
      "target_pid": "8c9850726a1ee050be2b67e43c688870",
      "apis": [
        "fd0beac79418d65e3b3ed24a6e33b24b"
      ]
    }
  • Request parameter description

    Parameter

    Type

    Description

    target_pid

    String

    Catalog to which the catalog will be moved

    apis

    String[]

    IDs of the APIs to be moved

Response

  • Example response

    None

Status Code

Status Code

Description

204

The APIs are moved successfully.

For details about status codes, see Status Codes.