Skip to content

Update account status

PATCHhttps://api.gravv.xyz/v1/accounts/{account_id}/status

Change an account's status. Set frozen to suspend an account, active to reactivate it, or deleted to close it.

Deleting requires the account's wallet balance to be zero. A deleted account can't be changed again, and system-managed accounts can't have their status updated.

Path Params

  • account_idstringrequired

Body Params

  • statusstringrequired

    The new account status.

    Allowed:activefrozendeleted

Responses

Language
curl --request PATCH \
--url 'https://api.gravv.xyz/v1/accounts/{account_id}/status' \
--header 'Api-Key: <Api Key>' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"status": "frozen"
}'