keys

Revoke this key, or a key it made: a worker's key when the worker is done.

Needs a full-access key made by an owner or admin (a wallet account's key is one). A read-only key, a developer's or one in a compartment cannot. An account-wide key may revoke any key in the account. The key stops working within ten seconds; what its agent made keeps running until stopped.

delete/v1/keys/{id}

Request

  • Base URL: https://api.withruntime.com
  • URL: https://api.withruntime.com/v1/keys/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The key's id.

Headers

Idempotency-Keystring

Replaying the same key with the same request within 24 hours returns the first result and never repeats the effect. A refusal is not kept: a request refused before it ran (no_capacity, busy, a limit) runs afresh when sent again with its key. The SDKs send one automatically; the server makes one when absent and returns it in the idempotency-key response header.

Response

Success

keyIdstring required

The key's id.

revokedAtstring date-time required

Changes

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