Update Image
PATCH {{baseUrl}}/api/images/:id/
Update the image with the given image ID.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
images:write
Request Body
{"data"=>{"type"=>"image", "id"=>"<string>", "attributes"=>{"name"=>"<string>", "hidden"=>"<boolean>"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
revision | string | (Required) API endpoint revision (format: YYYY-MM-DD[.suffix]) | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"data":{"type":"image","id":"\u003cstring\u003e","attributes":{"name":"\u003cstring\u003e","image_url":"\u003cstring\u003e","format":"\u003cstring\u003e","size":"\u003cinteger\u003e","hidden":"\u003cboolean\u003e","updated_at":"\u003cdateTime\u003e"},"links":{"self":"\u003curi\u003e"}}}