Skip to main content
PUT
/
v1
/
portrait-style-packs
/
styles
cURL
curl --request PUT \
  --url https://api.peelapi.com/v1/portrait-style-packs/styles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form style_pack_id=123 \
  --form style_id=123
{
  "data": {
    "message": "<string>"
  },
  "errors": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
style_pack_id
integer
required
style_id
integer
required

Response

Style added successfully

data
object
required
errors
unknown