API ReferenceManagementPolicy Rules Management
POST
/v1/mgmt/policies/settings/load

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

Load the project-level policy rule settings (default action).

curl -X POST "https://api.descope.com/v1/mgmt/policies/settings/load" \  -H "Content-Type: application/json" \  -d '{}'
{  "settings": {    "defaultAction": "string",    "version": "string"  }}
export interface Response {/** * defaultAction decides the verdict when rules target the resource but none *  matches. An unconfigured project reports the empty value; updates must pick *  allow or block — the choice is one-way and cannot return to unset. */settings?: {defaultAction?: stringversion?: string}}
Was this helpful?