Skip to main content
DELETE
/
super
/
index
Delete custom content
curl --request DELETE \
  --url https://api.super.work/v1/super/index \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "rootId": "a2ZSuHnZf",
  "id": "custom-id"
}
'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Request body for deleting custom content

rootId
string
required

Root id of the object to gather sources from. This should be created from the UI as a new custom data source.

Example:

"a2ZSuHnZf"

id
string
required

Unique id of the object to index scoped to the rootId

Example:

"custom-id"

Response

Ok

ok
boolean
required