TeaseDocs
DevelopersAPI referenceLanding designs

Upload Landing Design

The design's index.html or a .zip of it with its files, as the panel's Upload; a refused one changes nothing.

Path Parameters

design_id*Design Id
Range1 <= value <= 2147483647

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

POST
/v1/landing-designs/{design_id}/upload
curl -X POST "https://example.com/v1/landing-designs/1/upload" \  -F file="string"
null
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}