본문으로 건너뛰기
sigiro
Esc
↑↓이동↵열기⌘J미리보기

List ingest keys

Every ingest key of the workspace, newest first, revoked ones included. The secret is never returned.

GET/v1/ingest-keys
인증
AuthorizationBearer 토큰 (prefixed-api-key) · header필수
응답
200

The workspace's ingest keys

keysIngestKeyInfo[]필수
속성 표시
IngestKeyInfo 배열
created_atstring필수

RFC 3339.

created_bystring필수

Subject of the OAuth token that created the key.

idstring필수

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

last_used_atstring | null

RFC 3339; updated at most once a minute per key.

namestring필수
revoked_atstring | null

RFC 3339; set once the key is revoked.

401

Missing or invalid bearer token

403

Not a user's own OAuth access token

요청
curl -X GET '/v1/ingest-keys' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
응답
{
  "keys": [
    {
      "created_at": "string",
      "created_by": "string",
      "id": "string",
      "last_used_at": "string",
      "name": "string",
      "revoked_at": "string"
    }
  ]
}

이 페이지가 도움이 되었나요?