Calagopus icon

Calagopus

Interact with the Calagopus API

Actions343

Admin OAuth Providers → Update Mapping

AI-generated

Summary

Update an existing OAuth provider mapping by specifying its mapping UUID and OAuth provider UUID, optionally including query parameters, and sending a customizable JSON or raw text body to modify the mapping's details.

Inputs

  • Mapping UUID (required) — The unique identifier of the mapping to update.
  • OAuth Provider UUID (required) — The unique identifier of the OAuth provider to which the mapping belongs.
  • Query Parameters JSON — Optional query parameters to include as a JSON object in the request URL.
  • Body Mode — Defines the content type of the request body; choose between sending JSON, raw text, or none.
  • Body JSON — The JSON object to be sent as the request body when Body Mode is set to JSON. Used to specify mapping details to update.
  • Raw Body — The raw text to be sent as the request body when Body Mode is set to Raw Text.
  • Additional Options — Optional collection to configure request behavior such as ignoring HTTP errors, returning full response, and setting a timeout.

Output shape

a single JSON object representing the updated OAuth provider mapping or error information when failing

Returns the HTTP response parsed as JSON by default; can include full HTTP response data if 'Return Full Response' is enabled. Errors can be returned as part of output if 'Ignore HTTP Status Errors' is set; otherwise, failure throws an error and stops execution.

Examples

Example 1: Update an OAuth provider mapping with new attribute values

Specify the Mapping UUID and OAuth Provider UUID to identify the mapping, set Body Mode to JSON, and provide the new mapping details in Body JSON fields to update.

Links

Discussion