Get policy layers
GET
/titan/management/policy-layersHeaders
Authorizationstring
Bearer <token>. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).
Returns
200Organization-scoped result.PolicyLayersView
Errors
- 400Invalid request or path; POLICY_LAYER_INVALID when the layer source does not compile, does not name the caller's organization and enforcement_deployment_id "*", has a rule other than deny or require_approval or a rule with limits, obligations or connection constraints, or cannot be composed with a deployment's policy; POLICY_TERM_UNSUPPORTED when a rule has a mode (a watch-only rule) and watch-only rules is off, except for the layer in force submitted again.
- 401Missing or invalid authenticated context.
- 403Organization mismatch, or the IAM action is denied: titan:policy:read to read, titan:policy:publish to change.
- 404Unknown or foreign organization resource, or plan not yet prepared.
- 405HTTP method is not supported on this route.
- 503Local storage or a deployment's Configuration Authority unavailable. A PUT waits for every provisioned deployment management can address: when one's entry cannot be read, nothing is stored; retry. A DELETE never waits for the deployments; a deployment management cannot address under its configuration is listed (PROVISIONING_NOT_CONFIGURED) and flagged (policy_layers_refused), not waited for.