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

Path Parameters

project
string
required

The project 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.