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
}
}
}
}
This endpoint deletes an existing account.
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
}
}
}
}