POST

Set Tools Providers Toggle


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Enables or disables the tools of one or more apps for the site in context.

A disabled app stays in the List Tools Providers response with settings.enabled set to false, and Invoke Tool rejects its tools. Apps that aren't installed on the site, or have no Tools Provider extension, are ignored. Settings for individual tools are kept; to change those, call Set Tools Toggle.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permission Scopes
Invoke App Tools
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/_api/tools-host/v1/set-tools-providers-toggle

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?