# VPSnet Service 2FA lock API

**Canonical:** https://apis.io/apis/vpsnet-com/vpsnet-com-service-2fa-lock-api/  
**Provider:** VPSnet — https://apis.io/providers/vpsnet-com/  
**Base URL:** https://api.vpsnet.com  
**Documentation:** https://www.vpsnet.com/en/services/ai-api

VPSnet Service 2FA lock API is one of 20 APIs that [VPSnet](https://apis.io/providers/vpsnet-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Service 2FA lock. The published artifact set on APIs.io includes an OpenAPI specification.

The server's 2FA lock ("2FA užraktas"). While it is switched on, every operation that changes the server, or hands out what is inside it, answers 423 serviceTwoFactorLocked unless this browser session has unlocked the server; API keys, the MCP and the AI assistant are refused the whole time. Reading the server, renewing and paying for it (invoices, price quotes, automatic renewal on or off) always work. Switching the lock on, unlocking and switching it off are for the owner's browser session only.

## Operations (5)

| Method | Path | Summary |
|---|---|---|
| GET | `/account/services/{orderNo}/twofa-lock` | Read the server's 2FA lock |
| POST | `/account/services/{orderNo}/twofa-lock/enable` | Switch the server's 2FA lock on |
| POST | `/account/services/{orderNo}/twofa-lock/unlock` | Unlock the server for a while |
| POST | `/account/services/{orderNo}/twofa-lock/lock-now` | Lock the server again at once |
| POST | `/account/services/{orderNo}/twofa-lock/disable` | Switch the server's 2FA lock off |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/vpsnet-com/openapi/vpsnet-com-service-2fa-lock-api-openapi.yml

## Other VPSnet APIs (12)

- [VPSnet Account API](https://apis.io/apis/vpsnet-com/vpsnet-com-account-api/)
- [VPSnet AI Assistant API](https://apis.io/apis/vpsnet-com/vpsnet-com-ai-assistant-api/)
- [VPSnet AI connections API](https://apis.io/apis/vpsnet-com/vpsnet-com-ai-connections-api/)
- [VPSnet Certificates API](https://apis.io/apis/vpsnet-com/vpsnet-com-certificates-api/)
- [VPSnet Dedicated servers API](https://apis.io/apis/vpsnet-com/vpsnet-com-dedicated-servers-api/)
- [VPSnet DNS API](https://apis.io/apis/vpsnet-com/vpsnet-com-dns-api/)
- [VPSnet Domains API](https://apis.io/apis/vpsnet-com/vpsnet-com-domains-api/)
- [VPSnet Functions API](https://apis.io/apis/vpsnet-com/vpsnet-com-functions-api/)
- [VPSnet Macro payments API](https://apis.io/apis/vpsnet-com/vpsnet-com-macro-payments-api/)
- [VPSnet Micro payments API](https://apis.io/apis/vpsnet-com/vpsnet-com-micro-payments-api/)
- [VPSnet On-demand servers API](https://apis.io/apis/vpsnet-com/vpsnet-com-on-demand-servers-api/)
- [VPSnet Ordering API](https://apis.io/apis/vpsnet-com/vpsnet-com-ordering-api/)

## Tags

Service 2FA lock

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/vpsnet-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/vpsnet-com/vpsnet-com-service-2fa-lock-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/vpsnet-com/.
