Params

Param nameDescription
design
required

Value:

Must be hash

design[name]
required

The name of the design


Value:

Must be string.


Metadata:
Maximum length: 255
design[license]
optional

The license code for the design


Value:

Must be one of: ccbysa, ccbyncsa, ccbynd, ccbyncnd, gplv3, ccby, lgpl, bsd, cc0, commercial.

design[excerpt]
required

Excerpt of the design


Value:

Must be string.


Metadata:
Maximum length: 300
design[description]
optional

Description of the model


Value:

Must be text/html.

design[primary_image_id]
optional

ID of the primary image for this model


Value:

Must be integer.

Supported Formats

json

Examples

Request

PUT /v1/designs/photobean-53?auth_token=p4MzSV_MsEtxDxeaNE3_

Response

403
{
  "error": "You are not authorized to access this page."
}