---
updatedAt: 2026-08-24T15:06:26.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/linode-api/llms.txt
---

# List a user's tokens

__Beta__ Get details about all the user's tokens.

> 📘
>
> This operation is in Beta and available from the `v4beta` URL.


**Permissions and scopes**

To call this operation, you need the following:

- **OAuth scopes**. Your user needs these scopes assigned. [Learn more](https://techdocs.akamai.com/linode-api/reference/get-started#oauth).

  - Scopes: `images:read_only`


**CLI**

```shell
linode-cli image-sharegroups tokens-list
```

[Learn more](https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli)

# OpenAPI definition

````json
{
  "components": {
    "securitySchemes": {
      "oauth": {
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://login.linode.com/oauth/authorize",
            "scopes": {
              "account:read_only": "Allows access to GET information about your account.",
              "account:read_write": "Allows access to all endpoints related to your account.",
              "databases:read_only": "Allows access to GET information about databases.",
              "databases:read_write": "Allows access to all endpoints related to databases.",
              "domains:read_only": "Allows access to GET Domains on your account.",
              "domains:read_write": "Allows access to all Domain endpoints.",
              "events:read_only": "Allows access to GET your Events.",
              "events:read_write": "Allows access to all endpoints related to your Events.",
              "firewall:read_only": "Allows access to GET information about your Firewalls.",
              "firewall:read_write": "Allows access to all Firewall endpoints.",
              "images:read_only": "Allows access to GET your Images.",
              "images:read_write": "Allows access to all endpoints related to your Images.",
              "ips:read_only": "Allows access to GET your ips.",
              "ips:read_write": "Allows access to all endpoints related to your ips.",
              "linodes:read_only": "Allows access to GET Linodes on your account.",
              "linodes:read_write": "Allow access to all endpoints related to your Linodes.",
              "lke:read_only": "Allows access to GET LKE Clusters on your account.",
              "lke:read_write": "Allows access to all endpoints related to LKE Clusters on your account.",
              "longview:read_only": "Allows access to GET your Longview Clients.",
              "longview:read_write": "Allows access to all endpoints related to your Longview Clients.",
              "monitor:read-write": "Allows access to all Monitor (Akamai Cloud Pulse) endpoints.",
              "monitor:read_only": "Allows access to Monitor (Akamai Cloud Pulse) data.",
              "nodebalancers:read_only": "Allows access to GET NodeBalancers on your account.",
              "nodebalancers:read_write": "Allows access to all NodeBalancer endpoints.",
              "object_storage:read_only": "Allows access to GET information related to your Object Storage.",
              "object_storage:read_write": "Allows access to all Object Storage endpoints.",
              "stackscripts:read_only": "Allows access to GET your StackScripts.",
              "stackscripts:read_write": "Allows access to all endpoints related to your StackScripts.",
              "volumes:read_only": "Allows access to GET your Volumes.",
              "volumes:read_write": "Allows access to all endpoints related to your Volumes.",
              "vpc:read_write": "Allows access to all endpoints related to VPC and Subnet creation, updating, and deletion."
            },
            "tokenUrl": "https://login.linode.com/oauth/token"
          }
        },
        "type": "oauth2"
      },
      "personalAccessToken": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "externalDocs": {
    "description": "See documentation for Akamai's Linode API",
    "url": "https://techdocs.akamai.com/linode-api/reference"
  },
  "info": {
    "description": "\"[Read the API documentation](https://techdocs.akamai.com/linode-api/reference/api).\"",
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Images",
    "version": "4.229.1"
  },
  "openapi": "3.0.1",
  "paths": {
    "/{apiVersion}/images/sharegroups/tokens": {
      "get": {
        "description": "__Beta__ Get details about all the user's tokens.\n\n> 📘\n>\n> This operation is in Beta and available from the `v4beta` URL.\n\n\n**Permissions and scopes**\n\nTo call this operation, you need the following:\n\n- **OAuth scopes**. Your user needs these scopes assigned. [Learn more](https://techdocs.akamai.com/linode-api/reference/get-started#oauth).\n\n  - Scopes: `images:read_only`\n\n\n**CLI**\n\n```shell\nlinode-cli image-sharegroups tokens-list\n```\n\n[Learn more](https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli)",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Linode API",
          "url": "https://techdocs.akamai.com/linode-api/reference/get-user-tokens"
        },
        "operationId": "get-user-tokens",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": [
                    {
                      "created": "2025-08-04T10:09:09",
                      "expiry": null,
                      "label": "Backend Services - Engineering",
                      "sharegroup_label": "DevOps Base Images",
                      "sharegroup_uuid": "e1d0e58b-f89f-4237-84ab-b82077342359",
                      "status": "active",
                      "token_uuid": "13428362-5458-4dad-b14b-8d0d4d648f8c",
                      "updated": null,
                      "valid_for_sharegroup_uuid": "e1d0e58b-f89f-4237-84ab-b82077342359"
                    }
                  ],
                  "page": 1,
                  "pages": 1,
                  "results": 1
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "additionalProperties": false,
                        "description": "ImageShareGroupMemberTokens object.",
                        "properties": {
                          "created": {
                            "description": "__Read-only__ The creation time of this token.",
                            "example": "2025-08-04T10:09:09",
                            "readOnly": true,
                            "type": "string"
                          },
                          "expiry": {
                            "description": "__Read-only__ The time when this token expires.",
                            "example": null,
                            "nullable": true,
                            "readOnly": true,
                            "type": "string"
                          },
                          "label": {
                            "description": "__Filterable__ A short description of the token.",
                            "example": "Backend Services - Engineering",
                            "type": "string",
                            "x-akamai": {
                              "labels": [
                                "Filterable"
                              ]
                            },
                            "x-linode-cli-display": 2,
                            "x-linode-filterable": true
                          },
                          "sharegroup_label": {
                            "description": "__Filterable__, __Read-only__ Associated share group label.",
                            "example": "DevOps Base Images",
                            "readOnly": true,
                            "type": "string",
                            "x-akamai": {
                              "labels": [
                                "Filterable"
                              ]
                            },
                            "x-linode-cli-display": 6,
                            "x-linode-filterable": true
                          },
                          "sharegroup_uuid": {
                            "description": "__Filterable__, __Read-only__ The unique identifier of the share group you created a token for.",
                            "example": "e1d0e58b-f89f-4237-84ab-b82077342359",
                            "readOnly": true,
                            "type": "string",
                            "x-akamai": {
                              "labels": [
                                "Filterable"
                              ]
                            },
                            "x-linode-cli-display": 5,
                            "x-linode-filterable": true
                          },
                          "status": {
                            "description": "__Filterable__, __Read-only__ Represents the current token status.\n\n- `pending`: The token has been created but is not yet active.\n- `active`: The token is currently active and usable.\n- `revoked`: The token has been deleted and is no longer valid.\n- `expired`: The token has passed its validity period and is no longer usable.",
                            "enum": [
                              "pending",
                              "active",
                              "revoked",
                              "expired"
                            ],
                            "example": "active",
                            "readOnly": true,
                            "type": "string",
                            "x-akamai": {
                              "labels": [
                                "Filterable"
                              ]
                            },
                            "x-linode-cli-display": 3,
                            "x-linode-filterable": true
                          },
                          "token_uuid": {
                            "description": "__Read-only__ A unique identifier for the token, used to reference it after creation.",
                            "example": "13428362-5458-4dad-b14b-8d0d4d648f8c",
                            "readOnly": true,
                            "type": "string",
                            "x-linode-cli-display": 1
                          },
                          "updated": {
                            "description": "__Read-only__ The time when this token was last updated.",
                            "example": null,
                            "nullable": true,
                            "readOnly": true,
                            "type": "string"
                          },
                          "valid_for_sharegroup_uuid": {
                            "description": "__Filterable__, __Read-only__ UUID identifying the associated share group.",
                            "example": "e1d0e58b-f89f-4237-84ab-b82077342359",
                            "readOnly": true,
                            "type": "string",
                            "x-akamai": {
                              "labels": [
                                "Filterable"
                              ]
                            },
                            "x-linode-cli-display": 4,
                            "x-linode-filterable": true
                          }
                        },
                        "required": [
                          "token_uuid",
                          "status",
                          "label",
                          "created",
                          "updated",
                          "expiry",
                          "valid_for_sharegroup_uuid",
                          "sharegroup_uuid",
                          "sharegroup_label"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/tokens.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "page": {
                      "description": "__Read-only__ The current [page](https://techdocs.akamai.com/linode-api/reference/pagination).",
                      "example": 1,
                      "readOnly": true,
                      "type": "integer"
                    },
                    "pages": {
                      "description": "__Read-only__ The total number of [pages](https://techdocs.akamai.com/linode-api/reference/pagination).",
                      "example": 1,
                      "readOnly": true,
                      "type": "integer"
                    },
                    "results": {
                      "description": "__Read-only__ The total number of results.",
                      "example": 1,
                      "readOnly": true,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "data",
                    "page",
                    "pages",
                    "results"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/get-sharegroup-tokens-200.yaml"
                  }
                }
              }
            },
            "description": "Returns a paginated list of the tokens."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "errors": [
                    {
                      "reason": "Invalid JSON"
                    }
                  ]
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "errors": {
                      "description": "Any warnings associated with a response.",
                      "items": {
                        "additionalProperties": false,
                        "description": "An object for describing a single error that occurred during the processing of a request.",
                        "properties": {
                          "field": {
                            "description": "The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as `null` if the error is not specific to any single element of the request.",
                            "example": "fieldname",
                            "type": "string"
                          },
                          "reason": {
                            "description": "What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to [Open a support ticket](https://techdocs.akamai.com/linode-api/reference/post-ticket) or perform some other action before you can complete the request successfully.",
                            "example": "fieldname must be a valid value",
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/error-object.yaml"
                        }
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "See [Errors](https://techdocs.akamai.com/linode-api/reference/errors) for the range of possible error response codes."
          }
        },
        "security": [
          {
            "personalAccessToken": []
          },
          {
            "oauth": [
              "images:read_only"
            ]
          }
        ],
        "summary": "List a user's tokens",
        "tags": [
          "Image sharing"
        ],
        "x-akamai": {
          "status": "BETA",
          "tabs": [
            {
              "syntax": "linode-cli image-sharegroups tokens-list",
              "title": "CLI",
              "url": "https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli"
            }
          ]
        },
        "x-linode-cli-action": "tokens-list",
        "x-linode-redoc-load-ids": true
      },
      "parameters": [
        {
          "description": "__Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.",
          "in": "path",
          "name": "apiVersion",
          "required": true,
          "schema": {
            "enum": [
              "v4",
              "v4beta"
            ],
            "example": "v4",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/api-version-path.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/images-sharegroup-tokens.yaml",
        "path-info": "/{apiVersion}/images/sharegroups/tokens"
      },
      "x-linode-cli-command": "image-sharegroups"
    }
  },
  "servers": [
    {
      "url": "https://api.linode.com"
    }
  ],
  "tags": [
    {
      "description": "Use these operations to create and mange groups of users that can access your stored images.",
      "name": "Image sharing"
    }
  ],
  "x-akamai": {
    "auth-type": "OAUTH",
    "file-path": "images.yaml"
  },
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
````

# Sibling pages

* [Create a share group](https://techdocs.akamai.com/linode-api/reference/post-sharegroups.md)
* [List share groups](https://techdocs.akamai.com/linode-api/reference/get-sharegroups.md)
* [Create a token](https://techdocs.akamai.com/linode-api/reference/post-sharegroup-tokens.md)
* [Get a token's share group](https://techdocs.akamai.com/linode-api/reference/get-sharegroup-by-token.md)
* [List images by token](https://techdocs.akamai.com/linode-api/reference/get-sharegroup-images-by-token.md)
* [Get a share group](https://techdocs.akamai.com/linode-api/reference/get-sharegroup.md)
* [Update a share group](https://techdocs.akamai.com/linode-api/reference/put-sharegroup.md)
* [Delete a share group](https://techdocs.akamai.com/linode-api/reference/delete-sharegroup.md)
* [Add images to a share group](https://techdocs.akamai.com/linode-api/reference/post-sharegroup-images.md)
* [List shared images by group](https://techdocs.akamai.com/linode-api/reference/get-sharegroup-images.md)
* [Update a shared image](https://techdocs.akamai.com/linode-api/reference/put-sharegroup-imageshare.md)
* [Revoke access to a shared image](https://techdocs.akamai.com/linode-api/reference/delete-sharegroup-imageshare.md)
* [Add members to a share group](https://techdocs.akamai.com/linode-api/reference/post-sharegroup-members.md)
* [List members by share group](https://techdocs.akamai.com/linode-api/reference/get-sharegroup-members.md)
* [Get a membership token](https://techdocs.akamai.com/linode-api/reference/get-sharegroup-member-token.md)
* [Update a membership token](https://techdocs.akamai.com/linode-api/reference/put-sharegroup-member-token.md)
* [Revoke a membership token](https://techdocs.akamai.com/linode-api/reference/delete-sharegroup-member-token.md)
* [List share groups by image](https://techdocs.akamai.com/linode-api/reference/get-images-sharegroups-image.md)
* [Get a token](https://techdocs.akamai.com/linode-api/reference/get-sharegroup-token.md)
* [Update a token](https://techdocs.akamai.com/linode-api/reference/put-sharegroup-token.md)
* [Delete a token](https://techdocs.akamai.com/linode-api/reference/delete-sharegroup-token.md)