Build a Real-Time CDC Pipeline with Estuary & MotherDuck: March 27thRegister Now

Skip to main content

List a user's access tokens

GET 

https://api.motherduck.com/v1/users/:username/tokens

List a user's access tokens

Request

Path Parameters

    username stringrequired

    Possible values: <= 255 characters

    user within the organization

Responses

Successful response

Schema
    tokens object[]required
  • Array [
  • iduuidrequired
    namestring
    expire_atstring

    Time token expires at

    created_tsstringrequired

    Time token was originally created

    read_onlybooleanrequired
    token_typestringrequired

    Possible values: [read_write, read_scaling]

  • ]

Authorization: http

name: Authorizationtype: httpscheme: bearer
curl -L 'https://api.motherduck.com/v1/users/:username/tokens' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
Request Collapse all
Base URL
https://api.motherduck.com
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!