Set Mechanic Availability Status

GET /client/set-availability/{active_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

GET /client/set-availability/true/

Responses

Code

Description

200

Successful operation.

Example Response

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

Last updated