Delete Account User by Email

DELETE https://restapi.actonsoftware.com/api/1/user/{email}

This endpoint allows you to delete a user by their email address.

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization: Header False Required String Insert your generated access token.
("Bearer {access token}")
Path False True String The email address for the user to delete from the account.

Response

{
  "status": "success",
  "message": "User deleted"
}

Code Examples

cURLPython

curl -X DELETE "https://restapi.actonsoftware.com/api/1/user/john.doe@act-on.com" -H 'authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs'

import requests

url = "https://restapi.actonsoftware.com/api/1/user/john.doe@act-on.com"

payload = {}
headers = {
'authorization': 'Bearer 12345678-9abc-defg-hijk-lmnopqrs'
}

response = requests.request("DELETE", url, headers=headers, data = payload)

print(response.text.encode('utf8'))