---
title: "Current authorization state"
method: GET
path: "/users/{id}/authorization"
tags: ["users"]
---

# Current authorization state

`GET /users/{id}/authorization`

Return properties describing the current authorization

## Path parameters

- `id` string, required

## Response `200`

The current authorization.

- AccessKey — An authorization granted to a user
  - `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)
