Delete an account
delete
/services/rest/connect/v1.4/accounts/{id}
Request
Path Parameters
-
id: integer
The unique identifier of the account.
Response
Default Response
Root Schema : No content
Type:
null
Title:
No content
No content returned on delete
Examples
Use DELETE with the following syntax to delete an account:
https://your_site_interface/services/rest/connect/version/accounts/account_id
Request URI example
https://mysite.example.com/services/rest/connect/v1.4/accounts/10
Response example
The status 200 OK
is returned. Then getting the list of account records returns the following:
...
{
"id": 9,
"lookupName": "Justin Case",
"links": [
{
"rel": "canonical",
"href": "https://mysite.example.com/services/rest/connect/v1.4/accounts/9"
}
]
},
{
"id": 11,
"lookupName": "Clarence Payne",
"links": [
{
"rel": "canonical",
"href": "https://mysite.example.com/services/rest/connect/v1.4/accounts/11"
}
]
},
...
Note:
Account 10 no longer exists.