Accounts
Delete Account
This endpoint deletes an existing account.
DELETE
/v1/accounts
Bearer*
Body
id
string
The ID provided in the data tab may be used to identify the account
Response
id
string
The ID provided in the data tab may be used to identify the account
object
string
The object type
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request DELETE 'https://api.stateset.com/v1/accounts' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
{
{
"data": {
"delete_accounts": {
"affected_rows": 1
}
}
}
}
curl --location --request DELETE 'https://api.stateset.com/v1/accounts' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
{
{
"data": {
"delete_accounts": {
"affected_rows": 1
}
}
}
}