cURL
curl --request PUT \ --url http://localhost:4000/v1/events/status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "id": 123, "status": "ACTIVATED" } '
200
Example
{ "message": "<string>", "status": 123 }
Update an event status to ACTIVATED or DEACTIVATED
API key required in Authorization header. Format: iclosed-<token>
iclosed-<token>
Event ID
Event status
ACTIVATED
DEACTIVATED
Event status updated