---
title: "Access keys for current user"
method: GET
path: "/users/{id}/access-keys"
tags: ["users"]
---

# Access keys for current user

`GET /users/{id}/access-keys`

Return all access keys for the current user

## Path parameters

- `id` string, required

## Response `200`

An array of access keys

- AccessKey[]
  - `durability` 'persistent' | 'session' — The durability of the key.
  - `href` string — A reference to this key
  - `last_used` string — An iso8601 formatted timestamp
  - `account` string — A reference to an account
  - `expiry` string — An iso8601 formatted timestamp
  - `type` 'bearer', required — The type of key. Currently, only 'bearer' tokens are supported

---

[API](https://skmtc.dev/webscale/apis/webscale-apis.md) · [All operations](https://skmtc.dev/webscale/apis/webscale-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webscale/webscale-apis/revisions/c98d872b50cb/schema)
