Calagopus icon

Calagopus

Interact with the Calagopus API

Actions343

Admin Roles → Duplicate

AI-generated

Summary

Duplicate an existing admin role by UUID, optionally customizing the request with query parameters and request body.

Inputs

  • Role UUID (required) — The UUID of the admin role to duplicate.
  • Query Parameters JSON — Optional JSON object of query parameters to include in the request.
  • Body Mode — The format of the request body to send: JSON, Raw Text, or None.
  • Body JSON — The JSON object to include as the request body when Body Mode is set to JSON.
  • Raw Body — Raw text to send as the request body when Body Mode is set to Raw Text.
  • Additional Options — Additional options such as ignoring HTTP status errors, returning full response, and request timeout.

Output shape

a list of JSON objects representing the duplicated admin role or error details if failure occurs

If ignoring HTTP status errors is enabled, error responses will be returned within the output rather than causing workflow failure. The response contains the duplicated role details in JSON. Pagination is not applicable.

Examples

Example 1: Duplicate an admin role with UUID

Set Role UUID to the target role's UUID, optionally provide query parameters or body JSON to customize duplication.

Links

Discussion