---
title: "Set Block Spec"
method: PUT
path: "/bulk-create/folders/{folder_id}/blocks/{block_id}/spec"
tags: ["bulk-create"]
---

# Set Block Spec

`PUT /bulk-create/folders/{folder_id}/blocks/{block_id}/spec`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/bulk-create/folders/{folder_id}/blocks/{block_id}/spec`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

One spec for the whole block: size guide, sizes, sample size, fabric, samples.

## Path parameters

- `folder_id` string, uuid, required
- `block_id` string, required

## Request body

- BlockSpecRequest
  - `size_guide_id` string, uuid, required
  - `selected_size_headers` string[], required
  - `sample_size` string, required
  - `size_guide_type` string
  - `main_fabric` string
  - `no_of_samples` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
