Delete Metafield Definition
Definitions
Delete Metafield Definition
Delete a metafield definition. Values are NOT deleted. Admin API only.
DELETE
Delete Metafield Definition
Documentation Index
Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
Use this file to discover all available pages before exploring further.
Delete Metafield Definition
Deletes the schema. Existing values that were written under this definition are NOT removed — they continue to exist as schema-less metafields. Future writes to(ownerType, namespace, key) revert to the
relaxed (no-validation) path.
If you want to wipe values too, list them
(GET /metafields?ownerType=...&namespace=...&key=...)
and call
DELETE /metafields/:id for each.
Request
Path parameters
The definition UUID.
Response
Error codes
| Code | Description |
|---|---|
UNAUTHORIZED | Invalid or missing JWT |
FORBIDDEN | Wrong store / insufficient role |
NOT_FOUND | Definition does not exist |