Skip to main content
put/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/widget
Request example
Response
put/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/widget

Authorization

Authorizationstringheaderrequired#
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely. The management API (/v2/teamspaces/*) needs a key created with Management access ticked; other keys get 403 management_access_required.

Path parameters

teamspaceIdstringrequired#
Teamspace id.
ownerstringrequired#
First segment of the library id /owner/repo. Case-insensitive.
repostringrequired#
Second segment of the library id /owner/repo. Case-insensitive.

Body

application/json
enabledboolean#
allowedDomainsstring[]#

Items: max 20

Responses

application/json
Saved