Returns the specified edge token
GEThttps://api.spectrocloud.com/v1/edgehosts/tokens/:uid
Authorization: ApiKey
name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
Returns the specified edge token
Request
Path Parameters
uid stringrequired
Edge token uid
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
metadata object
spec object
status object
{
"metadata": {
"annotations": {},
"creationTimestamp": "2023-12-01T21:31:48.618Z",
"deletionTimestamp": "2023-12-01T21:31:48.618Z",
"labels": {},
"lastModifiedTimestamp": "2023-12-01T21:31:48.618Z",
"name": "string",
"uid": "string"
},
"spec": {
"defaultProject": {
"name": "string",
"uid": "string"
},
"expiry": "2023-12-01T21:31:48.618Z",
"token": "string"
},
"status": {
"isActive": true
}
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/edgehosts/tokens/:uid' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'