# Close account event

# POST /:partnerId/event/closeaccount

# When

Send this event when a players permanently closes theri account.

# Parameters

Parameter Type Description Example
ludio_id Body Ludio id of the player triggering the event b42a9f...6e7d45
timestamp Body UNIX Timestamp on the occurence of the event 1681201484

# Schema

{
  "ludio_id": "string",
  "timestamp": 0
}

# Examples

fetch(`${process.env.LUDIO_EVENT_API_HOST}/event/closeaccount`, {
  method: "POST",
  body: {
    "ludio_id": "b42a9f91d6f79dc885c4b93ac86e7d45",
    "timestamp": 1681201484
  }
})
curl -d '{"ludio_id": "b42a9f91d6f79dc885c4b93ac86e7d45","timestamp": 1681201484}' $LUDIO_EVENT_API_HOST/event/closeaccount