Skip to main content
PUT
Set the query policy of an Access Rule

Authorizations

Authorization
string
header
required

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

Path Parameters

access_rule_id
integer<int64>
required

Access rule identifier.

Body

application/json

Limits how a querying company may use the attributes and fields this access rule selects. An attribute is a Rosetta Stone attribute that the access rule selects from _rosetta_stone. A field is any other column of the access rule, such as a dataset column it selects directly. A query that breaks the policy reads no rows from the access rule.

default
object | null

Rules for every attribute and field that no usage_rules entry names. A usage left out is denied.

usage_rules
object[] | null
join_required_rule
object | null

Requires every query to inner join this access rule to a dataset the querying company owns, matching on the keys of one match entry.

Response

OK. The stored policy.

Limits how a querying company may use the attributes and fields this access rule selects. An attribute is a Rosetta Stone attribute that the access rule selects from _rosetta_stone. A field is any other column of the access rule, such as a dataset column it selects directly. A query that breaks the policy reads no rows from the access rule.

default
object | null

Rules for every attribute and field that no usage_rules entry names. A usage left out is denied.

usage_rules
object[] | null
join_required_rule
object | null

Requires every query to inner join this access rule to a dataset the querying company owns, matching on the keys of one match entry.