Skip to main content
PUT
/
events
/
status
Update event status
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
}

Authorizations

Authorization
string
header
required

API key required in 'Authorization' header. Format: iclosed-<token>

Body

application/json
id
integer
required

ID of the event to update status

status
enum<string>
required

New status for the event

Available options:
ACTIVATED,
DEACTIVATED

Response

Successfully updated event status

message
string
required

Success message

Example:

"Event status updated successfully"

status
integer
required

HTTP status code

Example:

200

I