# Cfengine Hosts API

**Canonical:** https://apis.io/apis/cfengine/cfengine-hosts-api/  
**Provider:** Cfengine — https://apis.io/providers/cfengine/  
**Base URL:** https://hub.cfengine.com  
**Documentation:** https://docs.cfengine.com/docs/lts/reference/

Cfengine Hosts API is one of 10 APIs that [Cfengine](https://apis.io/providers/cfengine/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include Hosts. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

The Hosts API from Cfengine — 6 operation(s) for hosts.

## Operations (6)

| Method | Path | Summary |
|---|---|---|
| DELETE | `/api/hosts/delete-permanently/SHA` | Host REST API |
| DELETE | `/api/hosts/delete-permanently/SHA=2123f85b38189008ae12be159fb961584dda1249c94efed43fec2c70f233975d` | DELETE /api/hosts/delete-permanently/SHA=2123f85b38189008ae12be159fb961584dda124… |
| POST | `/api/hosts/restore-deleted/SHA` | Host REST API |
| POST | `/api/hosts/restore-deleted/SHA=2123f85b38189008ae12be159fb961584dda1249c94efed43fec2c70f233975d` | POST /api/hosts/restore-deleted/SHA=2123f85b38189008ae12be159fb961584dda1249c94e… |
| GET | `/api/hosts/{hostid}` | GET /api/hosts/{hostid} |
| GET | `/api/hosts/{hostid}/SHA=2123f85b38189008ae12be159fb961584dda1249c94efed43fec2c70f233975d` | Host REST API |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/cfengine/openapi/cfengine-hosts-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/cfengine/json-schema/cfengine-delete-api-build-projects1-modules-autorun-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/cfengine/json-schema/cfengine-get-api-build-buildid-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/cfengine/json-schema/cfengine-patch-api-build-projects1-modules-autorun-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/cfengine/json-schema/cfengine-post-api-build-projects1-modules-autorun-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/cfengine/json-schema/cfengine-get-api-build-modules-autorun100-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/cfengine/json-schema/cfengine-get-api-build-modules-autorun-response-schema.json

## Other Cfengine APIs (9)

- [Cfengine API](https://apis.io/apis/cfengine/cfengine-api/)
- [Cfengine AI API](https://apis.io/apis/cfengine/cfengine-ai-api/)
- [Cfengine Build API](https://apis.io/apis/cfengine/cfengine-build-api/)
- [Cfengine Cfengine API](https://apis.io/apis/cfengine/cfengine-cfengine-api-api/)
- [Cfengine Cmdb API](https://apis.io/apis/cfengine/cfengine-cmdb-api/)
- [Cfengine Inventory API](https://apis.io/apis/cfengine/cfengine-inventory-api/)
- [Cfengine Rbac API](https://apis.io/apis/cfengine/cfengine-rbac-api/)
- [Cfengine Role API](https://apis.io/apis/cfengine/cfengine-role-api/)
- [Cfengine User API](https://apis.io/apis/cfengine/cfengine-user-api/)

## Tags

Hosts

---

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