0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

FivetranでユーザーIDを確認する方法について

Posted at

FivetranでユーザーIDを確認する方法について簡単にまとめます。

前提

Fivetran管理画面ではユーザーIDが直接表示されていなかったので、APIで取得することにしました。

API Key

設定→API Key→Generate API keyでAPI Keyを発行することができます。

ユーザー情報の取得

以下のAPIを使用します。(すべてのユーザー情報を取得)

GET https://api.fivetran.com/v1/users

curlの例

curl -u <API_KEY>:<API_SECRET> \
     -H "Content-Type: application/json" \
     -X GET "https://api.fivetran.com/v1/users"

json形式でユーザー情報を取得できます。

{
  "code": "Success",
  "data": {
    "items": [
      {
        "id": "user_id",
        "email": "user@email.value",
        "given_name": "xxx",
        "family_name": "xxx",
        "verified": true,
        "invited": false,
        "picture": null,
        "phone": null,
        "role": "Account Administrator",
        "logged_in_at": "xxx",
        "created_at": "xxx",
        "active": true
      },
      {
      ...
      }
    ]
  }
}

参考URL

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?