Skip to main content

Set metalake in use

PATCH 

/metalakes/:name

Marks a metalake as in use or not in use, which enables or disables it. A metalake that is not in use cannot be altered, and an in-use metalake cannot be dropped without force.

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

Request​

Path Parameters

    name stringrequired

    The name of the metalake

Body

    inUse booleanrequired

    The in-use status of the metalake 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...