Skip to main content

Disable Account

This will put the account in a disabled state and the subscriber will not be able to purchase any new resources or access any existing resources. Accounts in this state can only make payments which will automatically enable their accounts. This action is reversible using the Enable Account endpoint.

  • Endpoint: /api/v1/serv_disableUserAccount/<user_id>
  • Method: PUT
note

This endpoint will only work with authenticated admin tokens, i.e., <user_token> obtained from the /auth/login endpoint with valid admin credentials.

Request Headers

Header nameRequiredDescription
x-access-tokentruePass the <user_token> as obtained from the /auth/login endpoint.

Request Query Parameters

Parameter nameRequiredDescription
manualtruetrue

Sample Request

PUT: https://<api_url>/api/v1/serv_disableUserAccount/123?manual=true