コンテンツにスキップ
sigiro
Esc
↑↓移動↵開く⌘Jプレビュー

Revoke an ingest key

Revoke a key by its id. Senders using it get 401 “The ingest key has been revoked” from then on. Revoking a revoked key succeeds again.

DELETE/v1/ingest-keys/{id}
認証
AuthorizationBearer トークン (prefixed-api-key) · header必須
パスパラメーター
idstring必須

The key id: the middle part of sigiro_<id>_<secret>

レスポンス
204

Revoked

401

Missing or invalid bearer token

403

Not a user's own OAuth access token

404

The workspace has no key with this id

リクエスト
curl -X DELETE '/v1/ingest-keys/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
レスポンス
Revoked

このページは役に立ちましたか?