Create the edge host device
POSThttps://api.spectrocloud.com/v1/edgehosts
Create the edge host device
Request
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
metadata
object
spec
object
Responses
- 201
Created successfully
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
uidstringrequired
{
"uid": "string"
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X POST 'https://api.spectrocloud.com/v1/edgehosts' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"metadata": {
"labels": {},
"name": "string",
"uid": "string"
},
"spec": {
"archType": "amd64",
"hostPairingKey": "string"
}
}'