Skip to main content
cURL
Cost: 1 API credit per write.
A section outside the workspace answers 404. Needs the shop:write scope and the owner or admin role in the workspace. REST only: there is no MCP tool for it. Send an Idempotency-Key so a retry never writes twice (Idempotency).
This deletes the section on your live Etsy shop, and it cannot be reverted. The section’s listings are not deleted: they stay in the shop without a section.

The answer

  • 200: deleted: true, with its change.
  • 202: the change, while Etsy is still answering or Alura is checking whether it landed. Follow it with Get change.
  • 409 conflict: Etsy refused the delete because of the section’s state, and the answer names Etsy’s reason, such as in_use.
dry_run=true shows what the write would send and the Etsy calls it would make. It sends, charges and records nothing, but counts toward the per-minute write limit. A write Etsy refuses is not charged.
While another change to the same section is still saving on Etsy, the write sends nothing and answers 409 settings_busy. Wait for Retry-After, then retry.
To see which listings are in the section first, use Search listings with section_id.

Authorizations

Authorization
string
header
required

An API key: Authorization: Bearer alura_sk_....

Headers

Idempotency-Key
string

Makes a retry safe: the same key with the same request within 24 hours answers from the first write (with Idempotent-Replayed: true) and never writes to Etsy twice; a write that failed with nothing written (Retry-After set) is tried again under it. The same key with a different request is a 409 conflict; while the first request still runs, 409 idempotency_processing (or the same 202). Required for relative changes such as adjust_price, and to add a listing file, image or video, or to change the alt text of an image (each uploads to Etsy, so a blind retry would upload again); a dry_run=true needs none.

Required string length: 1 - 255

Path Parameters

id
string
required

The Etsy shop section ID. A section outside the workspace is 404.

Pattern: ^[0-9]{1,20}$
Example:

"31002"

Query Parameters

dry_run
boolean

true: plan the write and send nothing: what it would change, the Etsy calls it would make, and nothing reserved, charged or recorded. Free; counts toward the per-minute write limit.

Response

OK: the write landed on Etsy (or, with dry_run=true, what it would do).

object
string
required
Allowed value: "workspace.section"
id
string
required

The deleted section, as a string.

shop_id
string
required

The Etsy shop ID, as a string.

deleted
boolean
required

Deleted on Etsy.

as_of
string
required

When Etsy answered the write.

change
object
required

The write: its change ID and what landed.