---
title: "Create additional authorizations for the current user"
method: POST
path: "/users/{id}/authorization"
tags: ["users"]
---

# Create additional authorizations for the current user

`POST /users/{id}/authorization`

For users authorized to multiple accounts an authorization to a different account is created with this call

## Path parameters

- `id` string, required

## Request body

- AuthorizationAccount — The account for which an authorization is to be created
  - `account` string, required — A reference to an account

## Response `200`

The authorization was created

- AccessKeySecret — 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
  - `secret_key` string — The secret part of the authorization

---

[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)
