Skip to main content

Delete policy

DELETE 

/metalakes/:metalake/policies/:policy

Deletes a policy and removes it from every object it is attached to. The response reports whether a policy was deleted.

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

Responses​

Whether the object was dropped. dropped is false when the object did not exist or, for statistics, when none of the named statistics existed.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    dropped boolean

    Whether the drop operation was successful

Loading...