---
title: "POST /create-user-event"
method: POST
path: "/create-user-event"
tags: ["v2"]
---

# POST /create-user-event

`POST /create-user-event`

## Request body

- CreateUserEvent
  - `capabilities` string[] — List of the required capabilities options: [read, update, delete,sra_transparently_connect]. Relevant only for request-access event types
  - `comment` string — Deprecated - use description
  - `description` string — Description of the object
  - `event-source` string
  - `event-type` string, required
  - `item-name` string, required — EventItemName Event item name
  - `item-type` string, required — EventItemType Event item type
  - `json` boolean — Set output format to JSON
  - `request-access-ttl` integer — For how long to grant the requested access, in minutes
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication

## Response `200`

createUserEventResponse wraps response body.

- CreateUserEventOutput
  - `response` string

## Other responses

- `default` — errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
