Teamspace Admin

Owners and admins only, on a teamspace whose owner has a paid plan (403 paid_plan_required).

post/v2/teamspaces/{teamspaceId}/rules

Request

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

Request body

textstring required
libraryIdstring nullable

Library id starting with /. Omit or null for a rule on every library.

libraryType'repo' | 'llmstxt' | 'website' | 'openapi' | 'pdf' | 'docx' | 'file' | 'confluence' | 'notion'

Display hint for the library.

docsUrlstring uri

http(s) link shown with the library.

Response

Rule created

successboolean

Changes