Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Resource → Set the pincode for a resource.

AI-generated

Summary

Set the pincode value for a specified resource by sending a POST request to /resource/{resourceId}/pincode with a JSON body containing the pincode.

Inputs

  • Resource ID (required) — The unique identifier of the resource to update the pincode for.
  • Body (required) — A JSON object specifying the pincode to set. Typically includes a property 'pincode' with the pincode string.
  • Options — Optional settings including 'Raw Response' to return the full response data instead of splitting arrays into individual items.

Output shape

a single JSON object representing the API response from setting the pincode on the resource

If 'Raw Response' option is true, returns the full response data as a single item. Otherwise, the response is output as-is (usually a single JSON object). Errors will throw unless 'Continue On Fail' is enabled, in which case error details are returned per item.

Examples

Example 1: Set the pincode '1234' for a resource with ID 'abc123'

Provide 'abc123' for the Resource ID and a JSON body {'pincode':'1234'}; execute the node to update the resource's pincode.

Discussion