Skip to main content
DELETE
/
api
/
size-curve-targets
/
{id}
Delete a size curve target by scopeValue
curl --request DELETE \
  --url https://app.solya.app/api/size-curve-targets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Path Parameters

id
string
required

scopeValue (brand id for BRAND scope)

Minimum string length: 1

Query Parameters

scope
enum<string>
default:BRAND

Scope provided as a query parameter; defaults to BRAND

Available options:
BRAND,
CATEGORY,
SEASON

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true