Update Decision Endpoint

PUT {{apiPath}}/environments/{{envID}}/decisionEndpoints/{{decisionEndpointID}}

Updating a policy decision endpoint is essentially the same as a create operation: it associates an endpoint with a specific policy version, or it defines it as always up-to-date. In the former case, the policy configuration is fetched from the Policy Editor Service and stored locally; in the latter case, no policy configuration is stored.

Note: An existing endpoint may be reconfigured from a fixed policy version to a status of always up-to-date, or from always up-to-date to a fixed version.

The PUT /environments/{{envID}}/decisionEndpoints/{{decisionEndpointID}} modifies the attributes of the specified policy decision endpoint resource. The sample shows an update to the name, description, authorizationVersion, and recentDecisionsEnabled attributes.

Prerequisites

For property descriptions, see Policy decision service data model

PropertyType?Required?
alternateIdUUIDOptional
authorizationVersion.idUUIDOptional
descriptionStringRequired
idUUIDRequired
nameStringRequired
ownedBooleanOptional
policyIdUUIDOptional
recentDecisionsEnabledBooleanOptional
recordRecentRequestsBooleanRequired

Request Body

{"name"=>"Prod Endpoint", "description"=>"Endpoint for use in production", "authorizationVersion"=>{"id"=>"{{authorizationVersionID}}"}, "recentDecisionsEnabled"=>false, "owned"=>true, "alternateId"=>"1234567890"}

RESPONSES

status: OK

{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/decisionEndpoints/bcb106be-96fa-4479-b3ee-dbd7666e4da2"},"authorizationVersion":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/authorizationVersions/d7437c70-3082-11ee-80bd-adfbbca2bf5b"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"id":"bcb106be-96fa-4479-b3ee-dbd7666e4da2","name":"Prod Endpoint 1","description":"Endpoint for use in production","authorizationVersion":{"id":"d7437c70-3082-11ee-80bd-adfbbca2bf5b"},"recordRecentRequests":false,"owned":false}