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

PATCH /raw-files/{id}

Updates a raw file

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

Unique identifier of the raw file

Body Params

Payload to update the raw file

string
length ≥ 1

Title of the raw file

string
length ≥ 0

Description of the raw file. Set an empty string to clear the description.

string
length ≥ 0

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

tags
array of strings
length between 0 and 100

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

tags
boolean

Whether the raw file URL should be public

boolean

Whether the raw file should be archived

string | null

ID of the folder containing the raw file in the library

date-time | null

Date and time when the raw file 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