Skip to main content
POST
Revoke a host target

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

host_target_id
string<uuid>
required

Response

The host target as revoked.

A host outside Kubernetes registered to receive deployments. The members a host reports about itself are null until it first reports them.

id
string<uuid>
required
name
string
required
environment
string
required

The name of the environment the host is registered into.

Pattern: ^[a-z0-9][a-z0-9-]{0,62}$
environment_id
string<uuid>
required
labels
object
required
status
enum<string>
required

Derived on read from the last heartbeat: online within 90 seconds of it, offline after, and unknown for a host that never checked in. A revoked host that has checked in reads offline.

Available options:
online,
offline,
unknown
agent_version
string | null
required
hostname
string | null
required
os
string | null
required
arch
string | null
required
supported_job_types
string[] | null
required
policy
object | null
required

The host owner's release allow-list as the host last reported it; null until it reports.

running
object[] | null
required

The releases the host last reported as running; null until it reports.

last_heartbeat_at
string<date-time> | null
required
registered_at
string<date-time>
required
revoked_at
string<date-time> | null
required
revoked_by
string | null
required
created_by
string | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required