cURL
curl --request PUT \ --url https://api-dev.iclosed.io/events/status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": 123, "status": "ACTIVATED" }'
{ "message": "Event status updated successfully", "status": 200 }
Updating Event Status
API key required in 'Authorization' header. Format: iclosed-<token>
ID of the event to update status
New status for the event
ACTIVATED
DEACTIVATED
Successfully updated event status
Success message
"Event status updated successfully"
HTTP status code
200