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. Every key can read the management API (/v2/teamspaces/*), except personal data: member and invitation emails, library requesters, visitor questions, Docs7 reader searches, conversations, feedback and feature requests, and the GitHub account behind a build. To read those or make changes there, the key must be created with Write access ticked; other keys get 403 write_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