Reference Tables

Upsert rows

Create or update rows in a Reference Table by their primary key values. If a row with the specified primary key exists, it is updated; otherwise, a new row is created.

post/api/v2/reference-tables/tables/{id}/rows

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/reference-tables/tables/{id}/rows
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token

Path parameters

idstring required

Unique identifier of the reference table to upsert rows into

Request body

Example request

{
  "data": [
    {
      "attributes": {
        "values": {}
      },
      "id": "primary_key_value",
      "type": "row"
    }
  ]
}

Response

Rows created or updated successfully

Changes

No recorded changes to this operation across all 1 revision of this API.