---
title: "Authorize Secret Store Workspace"
method: POST
path: "/organization/secret-stores/{store_id}/authorizations"
tags: ["organization-secret-stores"]
---

# Authorize Secret Store Workspace

`POST /organization/secret-stores/{store_id}/authorizations`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/organization/secret-stores/{store_id}/authorizations`
- Auth: one of:
  - API key in cookie `fastapiusersauth`
  - HTTP bearer

Authorize a workspace to reference this store.

## Path parameters

- `store_id` string, uuid, required

## Request body

- SecretStoreAuthorizationCreate: Authorize a workspace to reference a store.
  - `workspace_id` string, uuid, required

## Response `201`

Successful Response

- SecretStoreAuthorizationRead
  - `id` string, uuid, required
  - `store_id` string, uuid, required
  - `workspace_id` string, uuid, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
