Skip to main content
DELETE
/
v2
/
session
/
apps
/
{appID}
/
config
/
scopes
Delete scope
curl --request DELETE \
  --url https://api.prelude.dev/v2/session/apps/{appID}/config/scopes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "scope": "<string>"
}
'
{
  "scopes": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

appID
string
required

The id of the app the request refers to. An application's unique identifier.

Examples:

"54e9ujn"

"fvua38g"

Body

application/json
scope
string
required

A scope identifier. Must only contain lowercase letters, uppercase letters, numbers, or the following characters: . - _ :

Pattern: ^[a-zA-Z0-9.\-_:]+$
Example:

"admin"

Response

OK

scopes
string[]
required