Delete an affiliate

HTTP Method End Point
DELETE /api/admin/deleteaffiliate/{userid}

Response Body

curl -X DELETE -H 
"X-Api-Key: {key}"
 -H 
"Cache-Control: no-cache"
"http://{network}//api/admin/deleteaffiliate/{userid}"
{

"data"
: {

"message"
: 
"string"

    },

"success"
: boolean
}
  • Success - true when affiliate is removed successfully
  • Success - false when affiliate can not be removed from the database

results matching ""

    No results matching ""