PATCH
/
v1
/
org
/
{org_id}
/
team
/
{team_id}
curl --request PATCH \
  --url https://api.tryvital.io/management/v1/org/{org_id}/team/{team_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Vital-Org-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "sandbox": {
    "lab_tests_patient_sms_communication_enabled": true,
    "lab_tests_patient_email_communication_enabled": true,
    "event_type_prefixes": [
      "<string>"
    ]
  },
  "production": {
    "lab_tests_patient_sms_communication_enabled": true,
    "lab_tests_patient_email_communication_enabled": true,
    "event_type_prefixes": [
      "<string>"
    ]
  }
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "created_on": "2023-11-07T05:31:56Z",
  "region": "us",
  "environments": [
    "production"
  ],
  "sandbox": {
    "lab_tests_patient_sms_communication_enabled": true,
    "lab_tests_patient_email_communication_enabled": true,
    "brand_information": {
      "company_name": "<string>",
      "company_website": "<string>",
      "support_email": "jsmith@example.com",
      "support_contact": "<string>",
      "company_address": "<string>",
      "brand_color": "<string>"
    },
    "logo_url": "<string>",
    "reject_duplicate_connection": false,
    "sdk_per_device_activity_timeseries": false
  },
  "production": {
    "lab_tests_patient_sms_communication_enabled": true,
    "lab_tests_patient_email_communication_enabled": true,
    "brand_information": {
      "company_name": "<string>",
      "company_website": "<string>",
      "support_email": "jsmith@example.com",
      "support_contact": "<string>",
      "company_address": "<string>",
      "brand_color": "<string>"
    },
    "logo_url": "<string>",
    "reject_duplicate_connection": true,
    "sdk_per_device_activity_timeseries": true
  }
}
The base URL of this endpoint is https://api.tryvital.io/management/.The endpoint accepts only Management Key (X-Management-Key). Team API Key is not accepted.
curl --request PATCH \
  --url https://api.tryvital.io/management/v1/org/{org_id}/team/{team_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Vital-Org-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "sandbox": {
    "lab_tests_patient_sms_communication_enabled": true,
    "lab_tests_patient_email_communication_enabled": true,
    "event_type_prefixes": [
      "<string>"
    ]
  },
  "production": {
    "lab_tests_patient_sms_communication_enabled": true,
    "lab_tests_patient_email_communication_enabled": true,
    "event_type_prefixes": [
      "<string>"
    ]
  }
}'

Authorizations

X-Management-Key
string
header
required

Path Parameters

org_id
string<uuid>
required
team_id
string<uuid>
required

Body

application/json
name
string | null

A human readable name of this Team. It is primarily used by Vital Dashboard.

In the Vital Link widget, you are by default represented as the Team name. However, if you have set Brand Information for the environment, the Company Name takes precedence.

In Vital Lab Testing, all communications use only Brand Information. Team name is ignored.

See also: sandbox.brand_information and production.brand_information.

sandbox
object | null
production
object | null

Response

Successful Response

id
string<uuid>
required
name
string
required
created_on
string<date-time>
required
region
enum<string>
required
Available options:
us,
eu
sandbox
object | null
required
production
object | null
required
environments
enum<string>[]