Images

Rename an image

Changes the name the optimized copy downloads under. The original keeps the name it was uploaded with. The extension is always the delivered format's, so a typed one (hero.webp) is dropped, and characters that don't belong in a file name become a hyphen. Only a finished image can be renamed.

patch/images/{id}

Request

  • Base URL: https://www.iminify.com/api/v1
  • URL: https://www.iminify.com/api/v1/images/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The image's id.

Request body

namestring required

The new name, without an extension. With the extension it has to fit in 128 bytes.

Example request

{
  "name": "team-offsite"
}

Response

OK.

Changes

No recorded changes to this operation across all 1 revision of this API.