Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Resource → Add entries to the whitelist for a resource.

AI-generated

Summary

Add entries to the whitelist of a specific resource by sending a JSON request body to the POST /resource/{resourceId}/whitelist/add endpoint.

Inputs

  • Resource ID (required) — The unique identifier of the resource to which whitelist entries will be added.
  • Body (required) — A JSON object containing the whitelist entries to add for the resource.
  • Options.Raw Response — Set to true to return the full response data instead of splitting arrays into individual items.

Output shape

The operation returns the response from the API call, either as a single JSON object or as an array of items depending on the Raw Response option.

If the Raw Response option is enabled, the entire response is returned as one JSON object. Otherwise, if the response is an array, each element is output as a separate item. Errors are returned in the output if the workflow is set to continue on failure.

Examples

Example 1: Add a single email entry to the whitelist

Specify the Resource ID and provide a JSON body with an "email" property containing the email to whitelist.

Discussion