Synthetics
Edit a test suite
put/api/v2/synthetics/suites/{public_id}
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/synthetics/suites/{public_id}
- 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 scopes: synthetics_write
Path parameters
public_idstring required
The public ID of the suite to edit.
Request body
Example request
{
"data": {
"attributes": {
"message": "Notification message",
"monitor_id": 12345678,
"name": "Example suite name",
"public_id": "123-abc-456",
"tags": [
"env:production"
],
"tests": [
{
"alerting_criticality": "critical"
}
],
"type": "suite"
},
"type": "suites"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"message": "Notification message",
"monitor_id": 12345678,
"name": "Example suite name",
"public_id": "123-abc-456",
"tags": [
"env:production"
],
"tests": [
{
"alerting_criticality": "critical"
}
],
"type": "suite"
},
"id": "123-abc-456",
"type": "suites"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.