> ## 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.

# Deactivate My Account

> Deactivate the current job seeker account

## Endpoint

```
DELETE /api/v1/job-seekers/me
```

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

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

## Authentication

Include the access token in the Authorization header:

```bash theme={null}
Authorization: Bearer YOUR_ACCESS_TOKEN
```

## Description

This endpoint deactivates (soft delete) the current job seeker's account. The account data is not permanently deleted but marked as inactive. Users can contact support to reactivate their account if needed.

## Response

### Success Response (200 OK)

```json theme={null}
{
  "success": true,
  "data": {
    "id": "a9ff20fb-8010-4a22-8873-344c103726af"
  },
  "message": "Job seeker deactivated successfully",
  "meta": {
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me",
    "method": "DELETE"
  }
}
```

### Response Fields

<ResponseField name="id" type="string">
  The unique identifier of the deactivated job seeker account.
</ResponseField>

## Error Responses

### 401 Unauthorized - Not Authenticated

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Unauthorized",
    "statusCode": 401,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me",
    "method": "DELETE",
    "details": "Unauthorized"
  }
}
```

### 403 Forbidden - Insufficient Permissions

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Forbidden resource",
    "statusCode": 403,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me",
    "method": "DELETE",
    "details": "Forbidden"
  }
}
```

## What Happens When Account is Deactivated

<Steps>
  <Step title="Account Status Changed">The account is marked as inactive (isActive = false)</Step>
  <Step title="Profile Hidden">The profile will no longer appear in job seeker searches</Step>
  <Step title="Login Disabled">The user can no longer log in with their credentials</Step>
  <Step title="Data Preserved">All profile data is preserved for potential reactivation</Step>
</Steps>

## Reactivation

<Info>
  **Account Reactivation**: If you want to reactivate your account in the future, please contact
  support. Your profile data is preserved after deactivation.
</Info>

## Request Example

```bash theme={null}
DELETE /api/v1/job-seekers/me
Authorization: Bearer YOUR_ACCESS_TOKEN
```

## Security Notes

<Warning>
  **Permanent Action**: Once deactivated, you won't be able to access your account or appear in
  employer searches until reactivated.
</Warning>

<Tip>
  **Consider Before Deactivating**: If you're just taking a break from job hunting, consider
  updating your availability status to "NOT\_LOOKING" instead of deactivating your account.
</Tip>
