Wanguard icon

Wanguard

Interact with Wanguard DDoS Detection and Mitigation API

Actions160

Role → Get

AI-generated

Summary

Retrieve detailed information about a specific user role in the Wanguard system by its ID.

Inputs

  • Role ID (required) — The numeric ID of the role to retrieve.

Output shape

a single record containing the role details

Returns the JSON representation of the role matching the specified Role ID. If the role does not exist or an error occurs, the node will throw an error unless 'Continue On Fail' is enabled, in which case the error message will be output.

Examples

Example 1: Retrieve a role's details

Set Resource to 'Role', Operation to 'Get', and specify the Role ID to fetch its details.

Discussion