PARTNERS

activateCompany

This method activates a suspended company.

Parameters

Parameter

Type

Optional

Description

companyId

String

No

The ID of the company to be activated.

recursive

Boolean

No

rue if sub-companies should be activated as well

Return value

This method does not return any value.

Example

Request:

  {
       "params": {
          "companyId" : "5493dcd2b1a43df00b7b23c6",
          "recursive" : false
       },
       "jsonrpc": "2.0",
       "method": "activateCompany",
       "id": "c67860e2-36cc-43bd-bc0f-f1061c180b52"
  }  

Response:

  {
      "id":"c67860e2-36cc-43bd-bc0f-f1061c180b52",
      "jsonrpc":"2.0",
      "result": null
  }