Can I suspend/activate my account via API call?

To suspend and reactivate your account by using API calls use one of the following commands:
Suspend account

curl -X PUT "https://api.brightdata.com/set_status?customer=YOUR_CUSTOMER_ID&status=suspend_manual" -u "username:password"

Full example:

curl -X PUT "https://api.brightdata.com/set_status?customer=CXXXXX&status=suspend_manual" -u "NAME:123456"

Reactivate account

curl -X PUT "https://api.brightdata.com/set_status?customer=YOUR_CUSTOMER_ID&status=active" -u "username:password"

Was this article helpful?