Skip to main content
POST
Revoke machine daemon token

Authorizations

Authorization
string
header
required

An opaque Omnara personal or organization bearer token.

Path Parameters

orgID
string
required

Organization ID (org_...).

Pattern: ^org_[a-z2-7]{26}$
machineID
string
required

Machine ID (mch_...).

Pattern: ^mch_[a-z2-7]{26}$
tokenID
string
required

Machine daemon token ID (mdt_...).

Pattern: ^mdt_[a-z2-7]{26}$

Response

Machine daemon token revoked.

id
string
required

Identifies the daemon token.

Pattern: ^mdt_[a-z2-7]{26}$
org_id
string
required

Organization that owns the token.

Pattern: ^org_[a-z2-7]{26}$
machine_id
string
required

Machine whose daemon authenticates with this token.

Pattern: ^mch_[a-z2-7]{26}$
name
string
required

Label for the token; defaults to daemon.

Required string length: 1 - 64
metadata
object
required

Key-value metadata attached to the token.

created_at
string<date-time>
required

When the token was issued.

last_used_at
string<date-time> | null
required

Approximate time the daemon last authenticated with this token; null if never used.

revoked_at
string<date-time> | null
required

When the token was revoked; null while it is still valid.

revoke_reason
string
required

Why the token was revoked, such as machine_deleted; empty while valid.