SentinelOne icon

SentinelOne

SentinelOne Management Console API specification.

Actions281

Users → Auth Recovery Code

AI-generated

Overview

This node interacts with the SentinelOne API to authenticate a user using a recovery code. It is useful in scenarios where a user needs to regain access to their account using a recovery code, typically after losing access to their primary two-factor authentication method. The node sends a POST request to the '/web/api/v2.1/users/auth/recovery-code' endpoint with optional custom body, headers, and query parameters, supporting batching, pagination, and debugging options.

Use Case Examples

  1. Authenticate a user with a recovery code to regain account access when two-factor authentication is unavailable.
  2. Use custom headers to include additional authentication tokens or metadata in the request.

Properties

Name Meaning
Options Additional options for the API request such as custom body, headers, query filters, batching, debug mode, pagination, and timeout settings.

Output

JSON

  • json
    • debug - Debug information including the actual URL, query parameters, headers, and body sent for the API request, if debug option is enabled.

Dependencies

  • An API key credential for SentinelOne API authentication.

Troubleshooting

  • Ensure the recovery code and other authentication details are correctly provided in the request body or custom body option.
  • Check API credentials and permissions to access the auth recovery code endpoint.
  • Enable debug mode to see detailed request and response information for troubleshooting.
  • Handle API rate limits by configuring batching and batch intervals appropriately.
  • Verify network connectivity to the SentinelOne API endpoint.

Links

Discussion