Skip to main content
Version: 1.0.0

Associate policies with metadata object

POST 

/metalakes/:metalake/objects/:metadataObjectType/:metadataObjectFullName/policies

Associate and disassociate policies with metadata object, please be aware that supported metadata objects are CATALOG, SCHEMA, TABLE, FILESET, TOPIC, COLUMN

Request

Path Parameters

    metalake stringrequired

    The name of the metalake

    metadataObjectType stringrequired

    Possible values: [METALAKE, CATALOG, SCHEMA, TABLE, COLUMN, FILESET, TOPIC, MODEL, ROLE]

    The type of the metadata object

    metadataObjectFullName stringrequired

    The full name of the metadata object

Body

    policiesToAdd string[]nullable

    The policies to add

    policiesToRemove string[]nullable

    The policies to remove

Responses

Returns the list of policy names associated with the specified metadata object

Schema

    code int32

    Possible values: [0]

    Status code of the response

    names string[]
Loading...