---
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`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/data_stores/{data_store_id}/resources`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

> **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.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
