> For the complete documentation index, see [llms.txt](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/client/set-mechanic-availability-status.md).

# Set Mechanic Availability Status

Use the `GET /client/set-availability/{active_status}` endpoint to manually set a mechanic's active status. Set `isAvailable=true` or `isAvailable=false` using the `active_status` path parameter.

#### Parameters

| **Name**        | **Type** | **Location** | **Description**                              | **Required** |
| --------------- | -------- | ------------ | -------------------------------------------- | ------------ |
| `active_status` | String   | Path         | The active status to set: `true` or `false`. | Yes          |

#### Example Request

```http
GET /client/set-availability/true/
```

#### Responses

| **Code** | **Description**       |
| -------- | --------------------- |
| 200      | Successful operation. |

**Example Response**

```json
{
  "message": "Availability updated successfully",
  "isAvailable": true
}
```
