This endpoint is used for deleting a store agent. It can be accessed via both GET and POST requests.
GET / POST https://shopiro.ca/api/v1/agents/delete?aid={agentid}
aid
: The agent's user ID. (Required)The response will be a JSON object indicating the outcome of the deletion process.
success
: Contains the user ID if the deletion was successful.failed
: Indicates an unknown error occurred during the deletion process.