Skip to main content
POST
/
api
/
metastore
/
tags
/
{tag}
/
roles
/
{role}
/
associate
Create tag associations
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"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

tag
string
required

Tag name.

role
string
required

Role name to associate the tag with.

Query Parameters

readonly
boolean
required

Whether the role should have read-only access.

Response

Data retrieved successfully.

tag
string
required

Tag name associated with the role.

role
string
required

Role name that the tag is assigned to.

is_readonly
boolean
required

Indicates whether the role has read-only access to the tag.

id
string<uuid> | null

Unique ID for the tag-role association.