Skip to main content

Rename Image

Rename image by specifying a new name.

PUT/api/v1/images/{image_id}/

Path parameters

  • image_idPathintegerrequired

    Image ID

Query parameters

  • project_idQueryintegerrequired
  • locationQuerystringrequired

    Deployment region for the resource. Accepted values: Delhi, Chennai.

    Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.

Request body

application/json

object
action_typestringrequired

Action type to perform on the image

examplerename
namestringrequired

New name to assign to the image

exampletest

Responses

200Successful response for renaming a image
object
codeinteger
example200
dataobject
errorsobject
messagestring
exampleSuccess