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 URLhttps://api.datadoghq.com
- URLhttps://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 2Authorization code: /oauth2/v1/authorizeToken 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.