Restrict app creators use of webhooks as described in the following sections:
Prevent app creators from using webhooks
Prevent app creators from using webhooks in their apps by using the "Disallow webhook" policy, as described below. For more information, see Define governance policies .
To prevent app creators from using webhooks:
- Select My account > Policies.
- Click + Organization Policyor + Team Policyto add an account or team policy, respectively.
- Select Disallow webhooks from the Policy Templatedrop-down.
- Click Next.
- The policy is preconfigured for you. You can modify any of the field values. See Add a predefined policy
for a description of each field. Important: If you modify the Conditionfield, ensure that you retain the functionality defined below:
NOT([Type] = Webhook)
- Click Save.
Restrict webhook URLs
Restrict app creators to use only a specific set of webhook URLs, as described below. For more information, see Define governance policies .
To prevent app creators from using webhooks:
- Select My account > Policies.
- Click + Organization Policyor + Team Policyto add an account or team policy, respectively.
- Select Restrict Webhook URLs from the Policy Templatedrop-down.
- Click Next.
- The policy is preconfigured for you. You can modify any of the field values. See Add a predefined policy
for a description of each field.
Important: If you modify the Conditionfield, ensure that you retain the functionality defined below:
OR(
STARTSWITH([Url], "https://api.appsheet.com/api"
STARTSWITH([Url], "https://script.googleapis.com"
) -
Click Save.