Doctor Reserved Slots
Function-calling namespace: doctorReservedSlots
- Base URL:
https://api.aivida.in - Engine endpoint:
POST /api - Auth: Stack token middleware enabled in
optionalmode. - Send token in header:
x-stack-access-token: <access_token>(orAuthorization: Bearer <access_token>). - In
optionalmode: no token is allowed; invalid token is rejected with401.
delete
Source: backend/endpoints/doctor-reserved-slots/delete
Deletes a reserved slot from the doctor_reserved_slots table by numeric slot id.
Input Fields
| Field | Type | Required | Constraints |
|---|---|---|---|
id | integer | Yes | Reserved slot id from doctor_reserved_slots.id |
Example Request
curl -X POST https://api.aivida.in/api \
-H "Content-Type: application/json" \
-H "x-stack-access-token: <access_token_optional>" \
-d '{
"namespace": "doctorReservedSlots",
"apiName": "delete",
"data": {
"id": 123
}
}'Example Response
{
"success": true,
"statusCode": 200,
"message": "ok",
"data": {
"message": "Reserved slot deleted successfully"
}
}