# F2HCloud API

#### F2HCloud API

<p class="callout danger">**F2H API access is currently experimental** and should not be used with production systems.</p>

By using **scoped API keys**, you can allow specific API functions to be performed without needing to be logged into The NOC. Scoped keys provide fine‑grained control over what actions an external system, script, or integration is allowed to perform.

You can generate an API key and assign it to a specific server. Once created, you can choose exactly which permissions that key is allowed to use—such as managing IPs, updating PTR records, performing server actions, or accessing monitoring data. This ensures that each key only has the minimum level of access required for its intended task, improving both security and automation flexibility.

[![NoCAPI.png](https://docs.f2h.cloud/uploads/images/gallery/2026-04/scaled-1680-/shmnocapi.png)](https://docs.f2h.cloud/uploads/images/gallery/2026-04/shmnocapi.png)

##### Reboot Using The API

An example API call using **cURL** to reboot your server is shown below. The API key used must include the **reboot** permission within its assigned scope.

```
curl -sS -X POST 'http://ca-api-01.f2hcloud.uk:8000/api/servers/ns0000000.ip-000-000-000.eu/reboot' -H 'X-API-Key: f2h.deadbeefcafebabe.Example0Replace0With0Your0Real0Key0Here'
```

##### Swagger API

<p class="callout danger">**Swagger access is currently experimental** and should not be used with production systems.</p>

Swagger provides a GUI (Graphical User Interface) to allow users to quickly perform API tasks from a browser. Using scoped API keys on one of the supported API servers will allow you to control your server from any browser.

[![SwaggerAPI.png](https://docs.f2h.cloud/uploads/images/gallery/2026-04/scaled-1680-/swaggerapi.png)](https://docs.f2h.cloud/uploads/images/gallery/2026-04/swaggerapi.png)

<main class="content-body" id="bkmrk--2"><div class="container-fluid"><div class="tab-content mt-3" id="bkmrk--3"><div class="row g-3 align-items-start"><aside class="col-12 col-xl-5"><div class="card noc-account-doc"><div class="card-body small text-muted"></div></div></aside></div></div></div></main>