Skip to main content
DELETE
Turn a one-use connect token off
Takes a managing key (oc_key_...) or a signed-in session. See the Quickstart for the connect command these tokens go into. The token stops working at once. An agent it already connected stays connected. The vault’s standing connect token is not changed.
Availability: OneCLI Cloud and self-hosted.

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Path Parameters

id
string
required

The vault's id.

Required string length: 1 - 64
tokenId
string
required

The one-use connect token's id, from its create or list.

Required string length: 1 - 64

Response

Turned off.