# API: Set Client Guest Status
# setClientGuestStatus
Toggle a guest's access on/off (Active/Closed) without deleting the grant
# Required parameters
| Parameter | Description |
|---|---|
id | Access grant ID (access_id) of the guest |
status | One of: Active, Closed |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=setClientGuestStatus&id=ID&status=STATUS
# PHP Samples
# Response
{
"success": true,
"successsave": 1,
"call": "setClientGuestStatus",
"server_time": 1713259782
}