Skip to Content
REST APIDatabaseToggle Data

Toggle Data

POST https://api.pxserv.net/database/toggleData

This endpoint toggles the value stored under a specified key between 0 and 1.

Headers

KeyValue
Content-Typeapplication/json
apikeyProject API Key
Accept-Languagetr | en

Body

KeyTypeDescription
keystringData key

Response

200

{ "status": 200, "message": "OK", "data": {} }

Error

{ "status": 401, "message": "Invalid API key.", "data": {} }
Last updated