v1
latestOpenAPI 3.0.02026-07-142351,1971.3 MBSynthetics
Create a private location
Create a new Synthetic private location.
post/api/v1/synthetics/private-locations
Request body
Example request
{
"description": "Description of private location",
"metadata": {
"restricted_roles": [
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
]
},
"name": "New private location",
"tags": [
"team:front"
]
}Response
OK
Example response
{
"private_location": {
"description": "Description of private location",
"metadata": {
"restricted_roles": [
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
]
},
"name": "New private location",
"tags": [
"team:front"
]
}
}