Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Resource → Set the whitelist for a resource.

AI-generated

Summary

Set the whitelist emails for a specified resource by providing the resource ID and a JSON body containing the whitelist entries.

Inputs

  • Resource ID (required) — The unique identifier of the resource for which you want to set the whitelist.
  • Body (required) — A JSON object containing the whitelist entries, typically an array of email addresses, to set for the resource.
  • Options — Optional parameter to return the raw response data instead of splitting arrays into individual items.

Output shape

a single record containing the response data from the API after updating the resource whitelist.

Response shape depends on the API's return format. If the 'Raw Response' option is true, the full raw response is returned; otherwise, array responses may be split into multiple items.

Discussion