Actions71
- Abuse Actions
- Access Restriction Actions
- Account Actions
- Agreement Actions
- API Application Actions
- API Credential Actions
- API OAuth2 Actions
- Bill Actions
- Contact Actions
- Credit Actions
- Document Actions
- Identity Actions
- Order Actions
- Payment Mean Actions
- SSH Key Actions
Access Restriction → Create TOTP
AI-generatedSummary
Creates a Time-based One-Time Password (TOTP) Two-Factor Authentication method for the authenticated OVH Account.
Inputs
- resource (required) — The resource type, set to 'accessRestriction' when creating TOTP.
- operation (required) — The specific action to perform, set to 'createTotp'.
Output shape
A single item containing the created TOTP account details.
Returns the raw API response which typically includes the TOTP account ID and configuration.
Examples
Example 1: Setup Two-Factor Authentication
Select 'Access Restriction' as the resource and 'Create TOTP' as the operation. The node creates a new TOTP method on the account.
Example 2: Retrieve Configuration
Use 'Get TOTP' to retrieve the list of configured Two-Factor Authentication methods, including the newly created one.