Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Resource → Set header auth for a resource.

AI-generated

Summary

Set or update the header-based authentication credentials for a specific resource identified by its Resource ID.

Inputs

  • Resource ID (required) — The unique identifier of the resource for which to set header authentication.
  • Body — A JSON object containing the authentication credentials to set in the resource's header auth, typically including user and password fields as required by the API.
  • Options — Optional settings such as returning the raw full response instead of processed items.

Output shape

a single JSON object representing the confirmation or details of the header authentication set, or the full raw response if requested.

The operation returns the API response from setting the header authentication; if the 'Raw Response' option is true, it returns the full response object. Errors are returned per item if execution continues on failure.

Examples

Example 1: Set user/password header authentication credentials for a resource.

Provide the Resource ID of the target resource and a JSON body specifying the user and password fields for authentication.

Discussion