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

Moving a Catalog to Another Catalog

Description

This API is used to move a catalog to another directory.

When the catalog is moved, all its sub-catalogs are also moved.

URL

  • URI format

    POST /v1/{project_id}/service/servicecatalogs/{catalog_id}/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.

    catalog_id

    Yes

    String

    Catalog ID

Request Message

  • Example request
    {
      "target_pid": "8c9850726a1ee050be2b67e43c688870"
    }
  • Request parameter description

    Parameter

    Type

    Description

    target_pid

    String

    Catalog to which the catalog will be moved

Response

  • Example response

    None

Status Code

Status Code

Description

204

The catalog is moved successfully.

For details about status codes, see Status Codes.