---
title: "Create Resource"
method: POST
path: "/data_stores/{data_store_id}/resources"
tags: ["RESOURCES"]
deprecated: true
---

# Create Resource

`POST /data_stores/{data_store_id}/resources`

> **Deprecated.**

Create a data store in the database.
:param db: The database session for accessing the database.
:param data_store_creation_request: The data store creation request containing the data store definition and other
metadata.
:param auth: The authorization token for the request.
:return: A data store creation response containing the data store ID, and a message.

## Path parameters

- `data_store_id` integer, required

## Request body

- ResourceCreationRequest
  - `identifier` string, required
  - `resource_schema` object, required
  - `options` object, nullable

## Response `200`

Successful Response

- ResourceCreationResponse
  - `id` integer, required
  - `message` string, required

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/dbf2c969464f/schema)
