Company

Update Company Settings

Update the company settings.

put/company/settings

Request

  • Base URL
    https://api.timelink.io/api/v1
  • Auth
    HTTP bearer

Request body

Example request

{
  "timeEntries": {
    "requiredFields": [
      "client_id",
      "project_id",
      "service_id"
    ],
    "defaultValues": {
      "client_id": "01J44B70GW55R6C8BGYCXNXH2K",
      "project_id": null,
      "service_id": null
    }
  }
}

Response

Company Settings updated successfully

successboolean

Example response

{
  "data": {
    "subscription": {
      "status": "active",
      "product": "basic",
      "quantity": 10,
      "trial": false,
      "trial_ends_at": null,
      "ends_at": null
    },
    "settings": {
      "timeEntries": {
        "requiredFields": [
          "client_id",
          "project_id",
          "service_id"
        ],
        "defaultValues": {
          "client_id": "01J44B70GW55R6C8BGYCXNXH2K",
          "project_id": null,
          "service_id": null
        }
      }
    }
  }
}

Changes

No recorded changes to this operation across all 3 revisions of this API.