{
  "info": {
    "_postman_id": "f8f217c5-1665-4f0d-a2e2-c176c7322847",
    "name": "OneSchema AWS Secrets Manager AWS Secrets Manager Accounts Workspace Sheets API",
    "description": "Configure AWS Secrets Manager account connections and managed secret references for use in Multi FileFeeds.\n\nContact Support:\n Name: OneSchema Support\n Email: support@oneschema.co",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:26:30.000Z",
    "updatedAt": "2026-07-28T02:26:30.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-f8f217c5-1665-4f0d-a2e2-c176c7322847"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "sheets",
          "item": [
            {
              "name": "{sheet_id}",
              "item": [
                {
                  "name": "template",
                  "item": [
                    {
                      "name": "Assign a template to a Workspace sheet",
                      "id": "f3b21392-bfc3-4f64-98a8-90f6df3ec50b",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"template_key\": \"<string,null>\",\n  \"auto_set_header_row\": \"<boolean>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/sheets/:sheet_id/template",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "sheets",
                            ":sheet_id",
                            "template"
                          ],
                          "variable": [
                            {
                              "id": "cd012217-6f71-4306-acf5-b4be608db09d",
                              "key": "sheet_id",
                              "value": "<integer>",
                              "description": "(Required) The id of the sheet."
                            }
                          ]
                        },
                        "description": "Assign or unassign a template for a Workspace sheet. Pass `template_key: null` to unassign the current template.\n\nSet `auto_set_header_row` to `true` to automatically detect and set the header row before applying the template. If the sheet's headers are already set, `auto_set_header_row` is ignored.\n"
                      },
                      "response": [
                        {
                          "id": "aa7b2c91-b315-471a-87a1-b919a4bbee4c",
                          "name": "The request has succeeded.",
                          "originalRequest": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "X-API-KEY",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"template_key\": \"<string,null>\",\n  \"auto_set_header_row\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/sheets/:sheet_id/template",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "sheets",
                                ":sheet_id",
                                "template"
                              ],
                              "variable": [
                                {
                                  "key": "sheet_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<integer>\",\n  \"workspace_id\": \"<integer>\",\n  \"name\": \"<string>\",\n  \"template_key\": \"<string,null>\",\n  \"custom_metadata\": {},\n  \"columns\": [\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"template_column_key\": \"<string,null>\",\n      \"is_custom\": \"<boolean>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"template_column_key\": \"<string,null>\",\n      \"is_custom\": \"<boolean>\"\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T02:26:31.000Z",
                          "updatedAt": "2026-07-28T02:26:31.000Z",
                          "uid": "35240-aa7b2c91-b315-471a-87a1-b919a4bbee4c"
                        },
                        {
                          "id": "97fa1959-b5d2-466d-8d88-9873c6b443c8",
                          "name": "400",
                          "originalRequest": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "X-API-KEY",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"template_key\": \"<string,null>\",\n  \"auto_set_header_row\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/sheets/:sheet_id/template",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "sheets",
                                ":sheet_id",
                                "template"
                              ],
                              "variable": [
                                {
                                  "key": "sheet_id"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{}",
                          "createdAt": "2026-07-28T02:26:31.000Z",
                          "updatedAt": "2026-07-28T02:26:31.000Z",
                          "uid": "35240-97fa1959-b5d2-466d-8d88-9873c6b443c8"
                        }
                      ],
                      "createdAt": "2026-07-28T02:26:31.000Z",
                      "updatedAt": "2026-07-28T02:26:31.000Z",
                      "uid": "35240-f3b21392-bfc3-4f64-98a8-90f6df3ec50b"
                    }
                  ],
                  "id": "1207a2b0-9157-4238-8166-2a51ed8c325a",
                  "createdAt": "2026-07-28T02:26:31.000Z",
                  "updatedAt": "2026-07-28T02:26:31.000Z",
                  "uid": "35240-1207a2b0-9157-4238-8166-2a51ed8c325a"
                }
              ],
              "id": "da042b75-75b9-4f4f-bf5e-cd4b5c8ecb28",
              "createdAt": "2026-07-28T02:26:31.000Z",
              "updatedAt": "2026-07-28T02:26:31.000Z",
              "uid": "35240-da042b75-75b9-4f4f-bf5e-cd4b5c8ecb28"
            }
          ],
          "id": "ae0f0371-be29-42ce-9e23-57e217c9ff82",
          "createdAt": "2026-07-28T02:26:31.000Z",
          "updatedAt": "2026-07-28T02:26:31.000Z",
          "uid": "35240-ae0f0371-be29-42ce-9e23-57e217c9ff82"
        }
      ],
      "id": "6798b251-12fd-4a5f-b22f-b58dbf76cdec",
      "createdAt": "2026-07-28T02:26:31.000Z",
      "updatedAt": "2026-07-28T02:26:31.000Z",
      "uid": "35240-6798b251-12fd-4a5f-b22f-b58dbf76cdec"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "X-API-KEY",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.oneschema.co"
    }
  ]
}