Agent Management
Get device code status
Check the status of a device code. Use this to poll for agent installation completion after creating an agent.
POST
Get device code status
Authorizations
API token authentication using format <api token id>:<api client secret>
Body
application/json
The device code.
Example:
"GRID-AGENT-X7K9-M2P4"
Response
Successful operation
The device code.
Example:
"GRID-AGENT-X7K9-M2P4"
The current status of the device code.
PENDING: The code is active and has not been redeemed.REDEEMED: The code was successfully redeemed.EXPIRED: The code expired before it was redeemed.INVALIDATED: The code was superseded or otherwise invalidated before it was redeemed.
Available options:
PENDING, REDEEMED, EXPIRED, INVALIDATED Example:
"PENDING"
Whether this device code was successfully redeemed. This is false for expired or invalidated codes.
Example:
false