Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Organization → Update an organization.

AI-generated

Summary

Update an organization's details by specifying the organization ID and providing a JSON body with the properties to update.

Inputs

  • Org ID (required) — The unique identifier of the organization to update.
  • Body — A JSON object containing the organization's attributes to update, such as name, two-factor authentication requirement, session length, password expiry, and log retention settings.
  • Options — Additional settings, including a 'Raw Response' boolean to return the full API response instead of splitting arrays into separate items.

Output shape

a single JSON object representing the updated organization or the full response if 'Raw Response' is enabled

The response format depends on the 'Raw Response' option; if false, the output is parsed item JSON; if true, the entire API response object is returned.

Examples

Example 1: Update the organization name and require two-factor authentication

Specify the Org ID and provide a JSON body with updated fields such as 'name' and 'requireTwoFactor' set to true.

Discussion