Manage Write Policies
Write policies API endpoint reference guide
Last updated
Was this helpful?
Write policies API endpoint reference guide
Last updated
Was this helpful?
The policies resource allows you to manage and apply policies to your data sources. The endpoints and examples provided in this guide are specific to creating .
POST
Manually grants write access to a user
POST
Creates a global write access policy
DELETE
Deletes the specified global write access policy
GET
Gets the global policy with the given policy ID
PUT
Updates the specified global policy
POST
/dataSource/{dataSourceId}/access
Manually grants write access to a user.
dataSourceId integer
The unique identifier of the data source.
POST
/policy/global
Creates a global policy.
The example below grants write access to users with the attribute has.write
and applies the global policy to all data sources.
DELETE
/policy/global/{policyId}
Deletes the specified policy.
policyId integer
The unique identifier of the policy.
GET
/policy/global/{policyId}
Gets the specified policy.
policyId integer
The unique identifier of the policy.
PUT
/policy/global/{policyId}
Updates the specified policy.
The request accepts a JSON or YAML payload. See the for parameter details.
The response returns the following JSON object. See the for details about the response schema.
The request accepts a JSON or YAML payload. See the for parameter details.
The response returns the global policy configuration. See the for details about the response schema.
The response returns the deleted global policy configuration. See the for details about the response schema.
The response returns the global policy configuration. See the for details about the response schema.
The request accepts a JSON or YAML payload. See the for parameter details.
The response returns the updated global policy configuration. See the for details about the response schema.