For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete Character

This endpoint allows you to delete a character.

DeleteCharacter(data, callback)

POST https://imperialcad.app/api/1.1/wf/deletecharacter


Request Body

Name
Type
Description

users_discordID

string

Discord ID of user

citizenid

string

Unique character ID


exports["ImperialCAD"]:DeleteCharacter({
    users_discordID = "123456789012345678",
    citizenid = "JD321"
  }, function(success, res)
    if success then print("Character deleted.") else print("Failed to delete character:", res) end
end)
{
  "status": "SUCCESS",
  "message": "Civilian and relevant data was marked to be deleted"
}

Last updated