Skip to main content
PUT
/
library
/
files
/
{fileId}
/
scrape-pages
Update the scrape pages for a file
curl --request PUT \
  --url https://api.closebot.com/library/files/{fileId}/scrape-pages \
  --header 'Content-Type: application/json' \
  --header 'X-CB-KEY: <api-key>' \
  --data '
{
  "pages": [
    {
      "url": "<string>",
      "enabled": true
    }
  ]
}
'

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

fileId
string
required

The ID of the file to update the scrape pages for.

Body

The input containing the new scrape pages.

pages
object[] | null

Response

200

Success