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
- See PingOne Authorize and PingOne Authorize Policy Decision Service for important overview information.
For property descriptions, see Policy decision service data model
Property | Type? | Required? |
---|---|---|
alternateId | UUID | Optional |
authorizationVersion.id | UUID | Optional |
description | String | Required |
id | UUID | Required |
name | String | Required |
owned | Boolean | Optional |
policyId | UUID | Optional |
recentDecisionsEnabled | Boolean | Optional |
recordRecentRequests | Boolean | Required |
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}