---
title: "Add an extra virtual key under a user's access profile"
method: POST
path: "/api/users/{target_user_id}/access-profiles/{profile_id}/virtual-keys"
tags: ["Access Profiles"]
---

# Add an extra virtual key under a user's access profile

`POST /api/users/{target_user_id}/access-profiles/{profile_id}/virtual-keys`

## Path parameters

- `target_user_id` string, required
- `profile_id` integer, required

## Request body

- object
  - `name` string
  - `description` string

## Response `200`

Virtual key created.

- object
  - `virtual_key` object
    - `id` string
    - `name` string
    - `value` string — The generated virtual key secret. Shown only once on creation.

## Other responses

- `404` — User access profile not found
- `500` — Internal server error

---

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