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

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).
ruleIdstringrequired#
Rule id (a key of global or of libraries[libraryId] in the rule list).

Body

application/json
textstringrequired#

Length: 1–1000

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

Responses

application/json
Rule updated
successboolean#
dataobject#