Activate app for company

POST /admin/companies/{company_id}/apps/activate

Request Structure

  • app: int, required

Example Request

POST /api/v1/admin/companies/2/apps/activate HTTP/1.1
Host: tph.io
X-Token: c9c0a840-b5f1-4e0e-84da-e8a4eedfc63b
Content-Type: application/json

{
    "app": 1
}

Response Structure

  • success: bool
  • messages: string

Example Response

{
  "success":true,
  "messages":"App successfully activated."
}