Skip to main content

Enable or disable catalog

PATCH 

/metalakes/:metalake/catalogs/:catalog

Enables or disables a catalog. While a catalog is disabled, requests to it and to the objects in it fail with a CatalogNotInUseException.

Sign in with a bearer token or a local user's password; see Authentication.

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

    catalog stringrequired

    The name of the catalog

Body

    inUse booleanrequired

    The in-use status of the catalog to set

Responses​

The operation succeeded. The body carries only code, which is 0.

Schema

    code int32required

    Possible values: [0]

    Status code of the response

Loading...