Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Organization → Add a user to an organization.

AI-generated

Summary

Add a user to an organization by sending a PUT request to the /org/{orgId}/user endpoint with user details in the request body.

Inputs

  • orgId (required) — The ID of the organization to which the user will be added.
  • body (required) — JSON object containing the user's information, including required fields such as 'username' and 'roleId', and optional fields like 'email', 'name', 'type', and 'idpId'.
  • options.rawResponse — Boolean to indicate whether to return the full raw response data instead of processing it.

Output shape

a single JSON object representing the API response to adding the user to the organization

By default, the operation returns the parsed JSON response. If 'Raw Response' option is enabled, the full API response is returned without unpacking.

Discussion