---
title: "PATCH /user_ticket"
method: PATCH
path: "/user_ticket"
tags: ["user_ticket"]
---

# PATCH /user_ticket

`PATCH /user_ticket`

## Query parameters

- `id` string, uuid
- `created_at` string, timestamp with time zone
- `ticket_id` string, uuid
- `order_id` string, uuid
- `user_id` string, uuid
- `name` string, text
- `description` string, text
- `event_id` string, uuid
- `event_name` string, text
- `secret` string, uuid
- `used` string, boolean
- `updated_at` string, timestamp with time zone
- `approval_status` string, public.user_ticket_approval_status_enum
- `notes` string, text

## Headers

- `Prefer` 'return=representation' | 'return=minimal' | 'return=none'

## Request body

- UserTicket
  - `id` string, uuid, required — Note: This is a Primary Key.<pk/>
  - `created_at` string, timestamp with time zone, required
  - `ticket_id` string, uuid — Note: This is a Foreign Key to `ticket.id`.<fk table='ticket' column='id'/>
  - `order_id` string, uuid — Note: This is a Foreign Key to `order.id`.<fk table='order' column='id'/>
  - `user_id` string, uuid — Note: This is a Foreign Key to `profile.id`.<fk table='profile' column='id'/>
  - `name` string, text
  - `description` string, text
  - `event_id` string, uuid — Note: This is a Foreign Key to `event.id`.<fk table='event' column='id'/>
  - `event_name` string, text
  - `secret` string, uuid, required
  - `used` boolean, required
  - `updated_at` string, timestamp with time zone, required
  - `approval_status` 'pending' | 'approved' | 'denied', public.user_ticket_approval_status_enum, required
  - `notes` string, text

## Response `204`

No Content

---

[API](https://skmtc.net/revent-app/apis/standard-public-schema.md) · [All operations](https://skmtc.net/revent-app/apis/standard-public-schema/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/revent-app/standard-public-schema/versions/90ce877204f2/schema)
