Skip to main content

Revoke or re-activate the edge token access

PUT 

https://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

Body

    isActiveboolean

    Set to 'true', if the token is active

Responses

The resource was updated successfully

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
}'
Request Collapse all
Base URL
https://api.spectrocloud.com
Auth
Parameters
— pathrequired
— header
Body
{
"isActive": true
}