Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Organization → Create a new resource.

AI-generated

Summary

Create a new resource within a specified organization by sending a JSON request body with resource details to the Pangolin API.

Inputs

  • Org ID (required) — The unique identifier of the organization where the new resource will be created.
  • Body (required) — A JSON object specifying the resource attributes such as name (required), subdomain, http status (required), protocol (required), domainId (required), and stickySession.
  • Options — Optional settings including Raw Response which controls whether the full API response is returned.

Output shape

A single JSON object representing the newly created resource or the full API response if Raw Response is enabled.

The output data corresponds to the response from a PUT request to /org/{orgId}/resource. If Raw Response is set to true, the complete API response is returned; otherwise, the response JSON is split into individual items if it is an array.

Discussion