---
title: "Set Default Store Endpoint"
method: POST
path: "/user/secrets/select-store"
tags: ["user"]
---

# Set Default Store Endpoint

`POST /user/secrets/select-store`

Sets the default store

## Request body

- SelectStoreRequest
  - `tenant_id` string, required
  - `store_id` string, required

## Response `200`

Successful Response

- SelectStoreResponse

## Other responses

- `403` — `{"detail": "Invalid API Key"}`
- `404` — `{"detail": "Tenant not found"}` `{"detail": "Secret store not found"}`
- `422` — Validation Error

---

[API](https://skmtc.dev/tenzir/apis/tenzir-platform-api.md) · [All operations](https://skmtc.dev/tenzir/apis/tenzir-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tenzir/tenzir-platform-api/revisions/1c6c33bb8ba3/schema)
