Fleetdock
API referenceAgenttokensServersIdAgent token

Revoke a server's agent token

Revokes the server's agent bearer token immediately. The agent can no longer report in or claim jobs until it re-enrolls with a token from the rotate endpoint. Requires server:write.

DELETE
/v1/servers/{id}/agent-token

Revokes the server's agent bearer token immediately. The agent can no longer report in or claim jobs until it re-enrolls with a token from the rotate endpoint. Requires server:write.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Formatuuid

Response Body

curl -X DELETE "https://example.com/v1/servers/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent-token"
Empty