API ReferenceManagementLists
POST
/v1/mgmt/list

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

name*string
Length1 <= length
description?string
type?"texts" | "ips" | "json" | ""
Value in"texts" | "ips" | "json" | ""
data?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.

Create a new list

curl -X POST "https://api.descope.com/v1/mgmt/list" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "list": {    "id": "string",    "name": "string",    "description": "string",    "type": "texts",    "data": null  }}
export interface Response {/** * Lists */list?: {id?: stringname: stringdescription?: stringtype?: ("texts" | "ips" | "json" | "")/** * 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. */data?: {[k: string]: unknown}}}
Was this helpful?