Teamspace Admin

Update library policies

Changed on

Incremental update with the same body as PATCH /v2/policies. With dryRun: true nothing is saved and the response shows the result and its library count. Owners and admins only. Teamspace name and deletion are not part of this API.

patch/v2/teamspaces/{teamspaceId}/policies

Request

  • Base URL
    https://context7.com/api
  • URL
    https://context7.com/api/v2/teamspaces/{teamspaceId}/policies
  • Auth
    HTTP bearer

Request body

dryRunboolean

Preview the change and its library count without saving.

Response

Updated policies, or the dry-run preview

OR

Changes