Skip to main content
patch/v2/teamspaces/{teamspaceId}/policies
Request example
Response
patch/v2/teamspaces/{teamspaceId}/policies

Authorization

Authorizationstringheaderrequired#
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely.

Path parameters

teamspaceIdstringrequired#
Teamspace id (from GET /v2/teamspaces).

Body

application/json
dryRunboolean#
Preview the change and its library count without saving.
sourceTypesobject#
Enable or disable specific source types. Both can be provided in one request, but the same type cannot appear in both arrays.
libraryFiltersobject#
Update library access filters.

Responses

application/json
Updated policies, or the dry-run preview