Skip to content

Get user's api-keys

Request

Returns an array of user's API keys.

Security
ApiKeyAuth
Path
user_emailstring, (email)(email)required

the email user uses to log in

Example:td@example.com
Query
keytypestring(type)

Api Key type

Enum:"master""write""write-only"
Example:keytype=master
curl -i -X GET \
  'https://api.treasuredata.com/v3/user/apikey/list/td@example.com?keytype=master' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
apikeysArray of stringsrequired
Response
{ "apikeys": [ "123/456789xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ] }