Synthetics
Pause or start a test
Pause or start a Synthetic test by changing the status.
put/api/v1/synthetics/tests/{public_id}/status
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v1/synthetics/tests/{public_id}/status
- 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 Synthetic test to update.
Request body
Example request
{
"new_status": "live"
}Response
OK - Returns a boolean indicating if the update was successful.
boolean required
Changes
No recorded changes to this operation across all 1 revision of this API.