Revoke or re-activate the edge token access
PUThttps://api.spectrocloud.com/v1/edgehosts/tokens/:uid/state
Revoke or re-activate the edge token access
Request
Path Parameters
uid stringrequired
Edge token uid
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
isActiveboolean
Set to 'true', if the token is active
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PUT 'https://api.spectrocloud.com/v1/edgehosts/tokens/:uid/state' \
-H 'Content-Type: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"isActive": true
}'