Host install tokens

Create an install token

The token is valid for 7 days. Give it to the agent's installer; Hosts → Add host in the dashboard shows the full command for each platform.

post/host-install-tokens

Request

  • Base URL
    https://api.spectate.net/v1
  • Auth
    HTTP bearer

Response

The new install token.

idstring uuid required

Install token ID

tokenstring required

The token to give the agent's installer (--token)

expires_atstring date-time nullable required

When the token stops registering new hosts. Hosts that registered keep reporting

created_atstring date-time required

When the token was created

Example response

{
  "token": "hct_0b7c…"
}

Changes

No recorded changes to this operation across all 1 revision of this API.