# Saved objects api authentication

**URL:** <https://forum.opensearch.org/t/saved-objects-api-authentication/4576>\
**Category:** Security\
**Created:** [January 14, 2021, 9:42am UTC](https://forum.opensearch.org/t/saved-objects-api-authentication/4576 "2021-01-14T09:42:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![divyank\_1](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@divyank\_1](https://forum.opensearch.org/u/divyank_1)\
**Post date:** [January 2, 2023, 12:55pm UTC](https://forum.opensearch.org/t/saved-objects-api-authentication/4576/4 "2023-01-02T12:55:14Z")

</div>

Hi @pablo ,

Can you pls share opensearch documentation page for `saved_objects` api. I couldn’t find it in opensearch documentation.

Ref link: [Confusing opensearch dashboard import API · Issue #1723 · opensearch-project/OpenSearch-Dashboards · GitHub](https://github.com/opensearch-project/OpenSearch-Dashboards/issues/1723)

I want to import saved object (ndjson) file in all tenants, (private tenant + global) tentant in single API request for single `"user" role`.

Currently using below api to import saved object is getting import for single tenant only.

```auto
curl -XPOST -u <>:<> --insecure "https://< 
 >:<>/api/saved_objects/_import" -H "osd-xsrf: true" --form file=@"a.ndjson"

```

Pls let me know if any other way than saved objects api to see `index-patterns, visualizations` can be seen using using `global` index pattern for all tenants.

Ref link: [Create Global Index Pattern accessible to all Tenants in Opensearch](https://forum.opensearch.org/t/create-global-index-pattern-accessible-to-all-tenants-in-opensearch/11971)

---

_[View the full topic](https://forum.opensearch.org/t/saved-objects-api-authentication/4576)._
