Dev GuideRecipesAPI ReferenceChangelog
Dev GuideAPI ReferenceChangelogUser GuideDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

PATCH /images/{id}

Updates an image

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier of the image

Body Params

Payload to update the image

string
length ≥ 1

Title of the image

string
length ≥ 0

Description of the image. Set an empty string to clear the description.

string
length ≥ 0

Alt text of the image. Set an empty string to clear the alt text.

string
length ≥ 0

Attribution text of the image. Set an empty string to clear the attribution text.

tags
array of strings
length between 0 and 100

Tags of the image. Provided tags will replace the existing ones. Set an empty array to clear the existing tags.

tags
boolean

Whether the image URL should be public

boolean

Whether the image should be archived

string | null

ID of the folder containing the image in the library

date-time | null

Date and time when the image expires, in ISO 8601 UTC format

labels
array of objects
deprecated

Please use PUT /assets/{asset_id}/fields or PUT /assets/{asset_id}/fields/{field_id} API to update label type asset fields

labels
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json