POST
/
rest
/
api
/
v1
/
governance
/
data
/
policies
/
{id}
from glean import Glean
import os


with Glean(
    api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as g_client:

    res = g_client.client.governance.data.policies.update(id="<id>")

    # Handle response
    print(res)
{
  "result": "SUCCESS"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The id of the policy to fetch.

Body

application/json; charset=UTF-8

Response

200
application/json; charset=UTF-8

OK

The response is of type object.