Skip to main content

get access-token

Overview#

You can retrieve the list of access tokens you have generated for the Spawn API.

Command#

spawnctl get access-tokens
spawnctl get access-token <AccessTokenId>

Tutorial#

In this tutorial we get the list of all access tokens for the current user.

As a prerequisite you should've followed the instructions to install spawnctl

  1. Run the following command to get the list of access tokens.

    $ spawnctl get access-tokens
    ID CreatedAt Purpose
    01c8fb177fd348b9be7d10173e5e48b3 2019-03-26T13:33:31Z CI system Spawn access token