Skip to main content

Enable or disable policy

PATCH 

/metalakes/:metalake/policies/:policy

Enables or disables a policy, as set by enable in the request body.

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

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

    policy stringrequired

    The name of the policy

Body

    enable boolean

    Whether to enable or disable the policy

Responses​

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

Schema

    code int32required

    Possible values: [0]

    Status code of the response

Loading...