Update a docs project

​

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

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}
import Scalar from '@scalar/sdk';

const client = new Scalar({
  bearerAuth: process.env['BEARER_AUTH'], // defaults to the BEARER_AUTH env var
});

await client.scalarDocs.updateProject('acme-docs', {});
null