> ## Documentation Index
> Fetch the complete documentation index at: https://careerk.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Withdraw Application

> Withdraw from a job application

## Endpoint

```
PATCH /api/v1/job-seekers/me/applications/:id
```

**Base URL**: `http://localhost:3000/api/v1`

<Note>This endpoint requires **Job Seeker authentication**.</Note>

## Headers

| Header        | Value                 |
| ------------- | --------------------- |
| Authorization | Bearer {access_token} |

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the application to withdraw (UUID).
</ParamField>

## Description

This endpoint withdraws the application from a job. The application status will be changed to `WITHDRAWN`. This action cannot be undone.

## Response

```json theme={null}
{
  "success": true,
  "data": {},
  "message": "Application withdrawn successfully",
  "meta": {
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me/applications/5d524fd9-8ea1-4c4f-bc15-b32072c144a1",
    "method": "PATCH"
  }
}
```

## Error Responses

### 401 Unauthorized

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Unauthorized",
    "statusCode": 401,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me/applications/5d524fd9-8ea1-4c4f-bc15-b32072c144a1",
    "method": "PATCH",
    "details": "Unauthorized"
  }
}
```

### 403 Forbidden

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Forbidden resource",
    "statusCode": 403,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me/applications/5d524fd9-8ea1-4c4f-bc15-b32072c144a1",
    "method": "PATCH",
    "details": "Forbidden"
  }
}
```

### 404 Not Found

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Application not found",
    "statusCode": 404,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me/applications/5d524fd9-8ea1-4c4f-bc15-b32072c144a1",
    "method": "PATCH",
    "details": "Not Found"
  }
}
```

### 400 Bad Request - Already Withdrawn

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Application is already withdrawn",
    "statusCode": 400,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me/applications/5d524fd9-8ea1-4c4f-bc15-b32072c144a1",
    "method": "PATCH",
    "details": "Bad Request"
  }
}
```
