跳到内容
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

这个页面有帮助吗?