curl --request POST \
--url https://api.example.com/v1/policies \
--header 'Content-Type: application/json' \
--data '{}'{}Creates a new organizational policy. Permissions required: bb.policies.create
curl --request POST \
--url https://api.example.com/v1/policies \
--header 'Content-Type: application/json' \
--data '{}'{}The parent resource where this instance will be created. Workspace resource name: "". Environment resource name: environments/environment-id. Instance resource name: instances/instance-id. Database resource name: instances/instance-id/databases/database-name.
The type of policy to create.
POLICY_TYPE_UNSPECIFIED, ROLLOUT_POLICY, MASKING_RULE, MASKING_EXCEPTION, TAG, DATA_SOURCE_QUERY, DATA_QUERY The body is of type object.
OK
The response is of type object.
Was this page helpful?