---
title: "Create Project user data"
method: POST
path: "/projects/{project_id}/user_data"
tags: ["User data"]
deprecated: true
---

# Create Project user data

`POST /projects/{project_id}/user_data`

> **Deprecated.**

Allows you to create User Data in a project, which can be used to perform custom setup on your servers after deploy and reinstall.

## Path parameters

- `project_id` string, required

## Request body

- object
  - `data` object, required
    - `type` 'user_data', required
    - `attributes` object
      - `description` string, required — description of the User Data
      - `content` string, required — base64 encoded content of the User Data

## Response `201`

Created

## Changes

> 29 revisions in range; 22 could not be searched.

- **2026-07-21** `885dec47dd47` — 3 info
  - added the optional property `data/attributes/project/stats/databases` to the response with the `201` status
  - added the optional property `data/attributes/project/stats/storages` to the response with the `201` status
  - added the optional property `data/attributes/project/stats/virtual_machines` to the response with the `201` status

[Change history](https://skmtc.dev/latitude/apis/latitude-sh-api/changes/projects/:project_id/user_data/post.md)

---

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