Skip to main content

suspendCompany

This method suspends an active company account, with the following implications:

Parameters

Parameter

Type

Optional

Description

companyId

String

No

The ID of the company to be suspended.

recursive

Boolean

No

True if sub-companies should be suspended as well.

Return value

This method does not return any value.

Example

Request:

  {
       "params": {
          "companyId" : "5493dcd2b1a43df00b7b23c6",
          "recursive" : false
       },
       "jsonrpc": "2.0",
       "method": "suspendCompany",
       "id": "8f6748b9-d201-4b63-b17f-4ecbebce24a9"
  }  

Response:

  {
      "id":"8f6748b9-d201-4b63-b17f-4ecbebce24a9",
      "jsonrpc":"2.0",
      "result": null
  }