Create a private location
POST {{baseUrl}}/api/v1/synthetics/private-locations
Create a new Synthetic private location.
Request Body
{"name"=>"New private location", "description"=>"Description of private location", "tags"=>["team:front"], "id"=>"sed", "metadata"=>{"restricted_roles"=>["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}, "secrets"=>{"authentication"=>{"id"=>"commodo exercitation sit", "key"=>"ad magna i"}, "config_decryption"=>{"key"=>"in et"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"config":{},"private_location":{"name":"New private location","description":"Description of private location","tags":["team:front"],"id":"in id ve","metadata":{"restricted_roles":["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]},"secrets":{"authentication":{"id":"aliquip cillum fugiat","key":"elit"},"config_decryption":{"key":"consequat"}}},"result_encryption":{"id":"deserunt Excepteur anim in non","key":"mollit elit consectetur"}}