Images

Update Image from Upload (Multipart/Mixed Post)

Changed on

Update an image file

put/images/{filename}

Request

  • Base URL
    https://ns-api.com/ns-api/v2
  • URL
    https://ns-api.com/ns-api/v2/images/{filename}
  • Auth
    HTTP bearer

Path parameters

filenamestring required

The name of the image file.

Request body multipart/form-data

resellerstring

The reseller or territory this image file applies to. Defaults to "*"

domainstring

The domain this image file applies to. Defaults to "*"

serverstring

The domain this image file applies to. Defaults to "*"

descriptionstring

A description of the image file to indicate what it is used for.

Filestring binary required

A "File" type parameter that needs to include the image file in question using a file post method.

Example request

{
  "File": "file:///Users/caaker/Downloads/portal_main_top_left (19).png"
}

Response

codeinteger required
messagestring required

Changes