Skip to main content

Restrict Account

This will put the account in a restricted state and the subscriber will not be able to purchase any new resources. This action is reversible using the Enable Account endpoint.

  • Endpoint: /api/v1/serv_restrictUserAccount/<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_restrictUserAccount/123?manual=true