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

Deleting Service Catalogs

Description

This API is used to delete service catalogs.

When a service catalog is deleted, all its sub-catalogs are deleted. Catalogs with APIs cannot be deleted.

URL

  • URI format

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

Request Message

  • Example request
    {
      "ids": [
        "2847131b4d5a26c5bd4bfd9d8f63f577",
        "8c9850726a1ee050be2b67e43c688870"
      ]
    }
  • Request parameter description

    Parameter

    Type

    Description

    ids

    String[]

    IDs of the catalogs to be deleted

Response

  • Example response

    None

Status Code

Status Code

Description

204

The catalogs are successfully deleted.

For details about status codes, see Status Codes.