Update a docs project

​

Update project settings. Set isPrivate with accessGroups to put the site behind a login.

OAuth scopes
  • write

Path Parameters

Body

required
application/json

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for patch/v1/docs/{slug}
curl 'https://access.scalar.com/v1/docs/{slug}' \
  --request PATCH \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "name": "",
  "isPrivate": true,
  "accessGroups": [
    ""
  ],
  "loginPortalUid": "",
  "activeThemeId": "",
  "agentEnabled": true,
  "analyticsEnabled": true
}'
null