Skip to main content
POST
/
v1
/
instances
/
{instance}
/
policies
cURL
curl --request POST \
  --url https://api.example.com/v1/instances/{instance}/policies \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Path Parameters

instance
string
required

The instance id.

Query Parameters

type
enum<string>

The type of policy to create.

Available options:
POLICY_TYPE_UNSPECIFIED,
ROLLOUT_POLICY,
MASKING_RULE,
MASKING_EXCEPTION,
TAG,
DATA_SOURCE_QUERY,
DATA_QUERY

Body

application/json

The body is of type object.

Response

OK

The response is of type object.