API ReferenceManagementAuth Access Policy Management
POST
/v1/mgmt/authaccess/settings

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

defaultAction?string
ruleIds?unknown

Represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.

Update the project-level auth access policy settings. ruleIds sets the full evaluation order and must list every rule exactly once. Fields that are not sent keep their stored values, using a valid management key.

curl -X POST "https://api.descope.com/v1/mgmt/authaccess/settings" \  -H "Content-Type: application/json" \  -d '{}'
{  "defaultAction": "string",  "ruleIds": null}
/** * defaultAction decides the verdict when no rule matches. ruleIds is the full evaluation order as a list of rule ids. */export interface Response {defaultAction?: string/** * Represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. */ruleIds?: {[k: string]: unknown}}
Was this helpful?