Incidents

Update an incident Google Chat configuration

Update a Google Chat configuration for incidents.

patch/api/v2/incidents/config/google-chat-configurations/{id}

Request

Path parameters

idstring uuid required

The UUID of the Google Chat configuration.

Request body

Example request

{
  "data": {
    "attributes": {
      "domain_id": "my-domain",
      "space_name_template": "{{incident.title}}",
      "space_target_audience_id": "123456789",
      "space_time_zone": "America/New_York"
    },
    "id": "00000000-0000-0000-0000-000000000000",
    "type": "google_chat_configurations"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "created_at": "2024-01-01T00:00:00.000Z",
      "domain_id": "my-domain",
      "modified_at": "2024-01-01T00:00:00.000Z",
      "space_name_template": "{{incident.title}}",
      "space_target_audience_id": "123456789",
      "space_time_zone": "America/New_York"
    },
    "id": "00000000-0000-0000-0000-000000000000",
    "relationships": {
      "created_by_user": {
        "data": {
          "id": "00000000-0000-0000-2345-000000000000",
          "type": "users"
        }
      },
      "incident_type": {
        "data": {
          "id": "00000000-0000-0000-0000-000000000000",
          "type": "incident_types"
        }
      },
      "last_modified_by_user": {
        "data": {
          "id": "00000000-0000-0000-2345-000000000000",
          "type": "users"
        }
      }
    },
    "type": "google_chat_configurations"
  },
  "included": [
    {
      "type": "users"
    }
  ]
}

Changes

Changes to this operation have not been checked yet.