---
title: "Revoke Comp"
method: DELETE
path: "/users/{user_id}/comp"
tags: ["users"]
---

# Revoke Comp

`DELETE /users/{user_id}/comp`

## Request

- Base URL: `https://api.tickertrac.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tickertrac.com/users/{user_id}/comp`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Ends a comp immediately. The account falls back to whatever Stripe says about
it, which for most comped accounts is nothing -- i.e. back to the free tier.

## Path parameters

- `user_id` integer, required

## Response `200`

Successful Response

- UserOut
  - `id` integer, nullable
  - `email` string, required
  - `is_admin` boolean, required
  - `email_verified` boolean, required
  - `alerts_paused` boolean, required
  - `email_delivery_suppressed_at` string, date-time, nullable, required
  - `email_delivery_suppression_reason` string, nullable, required
  - `onboarding_preferences_confirmed_at` string, date-time, nullable, required
  - `created_at` string, date-time, required
  - `guidance_preference` 'guided' | 'experienced', nullable
  - `example_thesis_hidden_at` string, date-time, nullable
  - `has_password` boolean, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tickertrac/apis/tickerrag-api.md) · [All operations](https://skmtc.dev/tickertrac/apis/tickerrag-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tickertrac/apis/tickerrag-api/revisions/3c7eb0f6425d?raw)
