POST
/v1/mgmt/fga/schema/dryrun

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

dsl?string

Preview schema diff between existing and new schema, without saving it.

curl -X POST "https://api.descope.com/v1/mgmt/fga/schema/dryrun" \  -H "Content-Type: application/json" \  -d '{}'
{  "deletesPreview": {    "hasDeletes": true,    "relations": [      "string"    ],    "types": [      "string"    ]  }}
export interface Response {deletesPreview?: SaveSchemaDryDeletes}export interface SaveSchemaDryDeletes {hasDeletes?: booleanrelations?: string[]types?: string[]}
Was this helpful?