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.
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
Format
uuidResponse Body
curl -X DELETE "https://example.com/v1/servers/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent-token"Empty
Revoke registration token DELETE
Previous Page
Rotate a server's agent token POST
Revokes the server's agent bearer token and returns a single-use, 24-hour registration token bound to this server, with its install command. Running that command on the server re-enrolls the same server with a fresh agent token. Requires server:write.