Machines

Revoke machine daemon token

Changed on
post/orgs/{orgID}/machines/{machineID}/daemon-tokens/{tokenID}/revoke

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf

Path parameters

orgID, string required

Organization ID (org_...).

machineID, string required

Machine ID (mch_...).

tokenID, string required

Machine daemon token ID (mdt_...).

Response

Machine daemon token revoked.

MachineDaemonToken required
id, string required

Identifies the daemon token.

org_id, string required

Organization that owns the token.

machine_id, string required

Machine whose daemon authenticates with this token.

name, string required

Label for the token; defaults to daemon.

metadata, Metadata 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 nullable required
revoked_at, string date-time nullable required
revoke_reason, string required

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

Changes

    • info

      added the optional property current_digest to the response with the status

    • info

      added the optional property current_digest to the response with the status

    • info

      added the optional property current_digest to the response with the status

    156 more changes in this revision