> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.drazill.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.drazill.com/_mcp/server.

# Withdraw my entry

DELETE https://api.drazill.com/api/v1/contests/{slug}/entries/me

Reference: https://docs.drazill.com/api-reference/api-reference/rewards-growth/contests/withdraw-entry

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://api.drazill.com` (Production, default)
- `https://staging.drazill.com` (Staging)

## Request

### Path parameters

- `slug` (string, required)

### Headers

- `X-API-Key` (string, optional, nullable)

## Response

### 200

Successful Response

- `contest_slug` (string, required)
- `created_at` (datetime, required)
- `entry_source` (string, required)
- `id` (string, required)
- `score` (string, required)
- `status` (string, required)
- `prize_amount` (string, optional, nullable)
- `prize_badge_key` (string, optional, nullable)
- `prize_hold_reason` (string, optional, nullable)
- `rank` (integer, optional, nullable)
- `skill_test_passed` (boolean, optional, nullable)

## Errors

### 401 Unauthorized Error

Authentication required, or the supplied credential is invalid or revoked.

- `code` (string, required) — Stable machine-readable error code (e.g. RATE_LIMIT_EXCEEDED).
- `error` (boolean, required) — Always true on an error response.
- `message` (string, required) — Human-readable message; production 500s are scrubbed of internals.
- `details` (map from string to any, optional) — Structured, code-specific context. Money values are cents-precision Decimal strings; probabilities are numbers in [0, 1].
- `request_id` (string, optional) — Correlation id, also returned in the X-Request-ID response header. Quote it in support tickets.

### 403 Forbidden Error

Authenticated but not permitted (ownership checks return 404, not 403, to avoid leaking existence).

- `code` (string, required) — Stable machine-readable error code (e.g. RATE_LIMIT_EXCEEDED).
- `error` (boolean, required) — Always true on an error response.
- `message` (string, required) — Human-readable message; production 500s are scrubbed of internals.
- `details` (map from string to any, optional) — Structured, code-specific context. Money values are cents-precision Decimal strings; probabilities are numbers in [0, 1].
- `request_id` (string, optional) — Correlation id, also returned in the X-Request-ID response header. Quote it in support tickets.

### 404 Not Found Error

The referenced resource does not exist (also returned instead of 403 on private resources).

- `code` (string, required) — Stable machine-readable error code (e.g. RATE_LIMIT_EXCEEDED).
- `error` (boolean, required) — Always true on an error response.
- `message` (string, required) — Human-readable message; production 500s are scrubbed of internals.
- `details` (map from string to any, optional) — Structured, code-specific context. Money values are cents-precision Decimal strings; probabilities are numbers in [0, 1].
- `request_id` (string, optional) — Correlation id, also returned in the X-Request-ID response header. Quote it in support tickets.

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

### 429 Too Many Requests Error

Rate limit or quota exceeded. Honor Retry-After; X-RateLimit-* / X-Quota-* describe the window.

- `code` (string, required) — Stable machine-readable error code (e.g. RATE_LIMIT_EXCEEDED).
- `error` (boolean, required) — Always true on an error response.
- `message` (string, required) — Human-readable message; production 500s are scrubbed of internals.
- `details` (map from string to any, optional) — Structured, code-specific context. Money values are cents-precision Decimal strings; probabilities are numbers in [0, 1].
- `request_id` (string, optional) — Correlation id, also returned in the X-Request-ID response header. Quote it in support tickets.

### 500 Internal Server Error

Unexpected server error. In production the message is scrubbed; quote request_id when reporting it.

- `code` (string, required) — Stable machine-readable error code (e.g. RATE_LIMIT_EXCEEDED).
- `error` (boolean, required) — Always true on an error response.
- `message` (string, required) — Human-readable message; production 500s are scrubbed of internals.
- `details` (map from string to any, optional) — Structured, code-specific context. Money values are cents-precision Decimal strings; probabilities are numbers in [0, 1].
- `request_id` (string, optional) — Correlation id, also returned in the X-Request-ID response header. Quote it in support tickets.

## Types

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `ctx` (ValidationErrorCtx, optional)
- `input` (any, optional)

### ValidationErrorLocItems

- string
- integer

### ValidationErrorCtx

## Examples

**SDK Code**

```python
from drazill import DrazillClient

client = DrazillClient(api_key="drzl_test_...", base_url="https://staging.drazill.com/api/v1")

result = client.contests.withdraw_entry("<slug>")
print(result)
```

```typescript
import { Drazill } from "drazill";

const client = new Drazill({ apiKey: "drzl_test_...", baseUrl: "https://staging.drazill.com/api/v1" });

const result = await client.contests.withdrawEntry("<slug>");
console.log(result);
```