Skip to main content
PUT
/
v1
/
networks
/
policies
/
querying
/
{policy_id}
/
configuration
Save per-field selections onto an existing querying policy.
curl --request PUT \
  --url https://api.example.com/v1/networks/policies/querying/{policy_id}/configuration \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model_selections": [
    {
      "product_model_definition_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "field_selections": [
        {
          "product_field_definition_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "is_enabled": true,
          "selected_provenance_option_ids": [
            "3c90c3cc-0d44-4b50-8888-8dd25736052a"
          ],
          "boolean_choice": "<string>"
        }
      ]
    }
  ],
  "name": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

policy_id
string<uuid>
required

Body

application/json

Body of PUT /networks/policies/querying/{policy_id}/configuration.

model_selections
ModelSelectionInput · object[]
required
name
string | null

Response

Successful Response

Response for the configuration save endpoint.

id
string<uuid>
required
name
string
required
status
string
required