cURL
curl --request POST \ --url https://aiapi.{client}.nx1cloud.com/api/metastore/tags/{tag}/roles/{role}/associate \ --header 'Authorization: Bearer <token>'
{ "tag": "<string>", "role": "<string>", "is_readonly": true, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Create or update a tag-role association in Ranger.
The access token received from the authorization server in the OAuth 2.0 flow.
Tag name.
Role name to associate the tag with.
Whether the role should have read-only access.
Data retrieved successfully.
Tag name associated with the role.
Role name that the tag is assigned to.
Indicates whether the role has read-only access to the tag.
Unique ID for the tag-role association.
Was this page helpful?