# Synthetics Private Location creation

**URL:** https://discuss.elastic.co/t/synthetics-private-location-creation/360870
**Category:** Synthetics
**Created:** [June 5, 2024, 3:13pm UTC](https://discuss.elastic.co/t/synthetics-private-location-creation/360870 "2024-06-05T15:13:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![s.buksa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s.buksa/32/124525_2.png) [@s.buksa](https://discuss.elastic.co/u/s.buksa)
#### Post date: [June 5, 2024, 3:13pm UTC](https://discuss.elastic.co/t/synthetics-private-location-creation/360870/1 "2024-06-05T15:13:29Z")

</div>

Hi, there!

Those who are more experienced with Synthetics Private Location creation - is it possible to create Private Location in a specific Kibana Space?

Official documentation provides two types of syntax - general and namespace scoped.  
Was able to successfully execute this call, using Kibana Dev Tools (easy & quick test)

```auto
POST kbn:/api/synthetics/private_locations
{
  "label": "my-private-loc",
  "agentPolicyId": "xxx11111xxxxx22222xxx3333",
  "tags": ["randomtag1"]
}

```

However, was not able to execute it providing specific Kibana Space as syntax suggests:

```auto
POST kbn:/s/my-random-space/api/synthetics/private_locations
{
  "label": "my-private-loc1",
  "agentPolicyId": "yyy11111yyy22222yyy3333",
  "tags": ["randomtag2"]
}

```

---

<div class="post-metadata">

### Author: ![jkambic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkambic/32/53306_2.png) [@jkambic](https://discuss.elastic.co/u/jkambic)
#### Post date: [June 12, 2024, 5:59pm UTC](https://discuss.elastic.co/t/synthetics-private-location-creation/360870/2 "2024-06-12T17:59:14Z")

</div>

Private Locations themselves are visible across spaces, but it's possible to create monitors that are scoped to a specific Space. So, you can create monitors for a given space and localize them to that space, but your location will be available in other spaces.
