curl --request PUT \
--url http://localhost:8000/api/v1/media/{media_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tags": [
"<string>"
],
"alt_text": "<string>"
}
'{
"id": 123,
"filename": "<string>",
"url": "<string>",
"file_size": 123,
"mime_type": "<string>",
"source_type": "upload",
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"width": 123,
"height": 123,
"external_id": "<string>",
"external_metadata": {},
"tags": [
"<string>"
],
"alt_text": "<string>"
}curl --request PUT \
--url http://localhost:8000/api/v1/media/{media_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tags": [
"<string>"
],
"alt_text": "<string>"
}
'{
"id": 123,
"filename": "<string>",
"url": "<string>",
"file_size": 123,
"mime_type": "<string>",
"source_type": "upload",
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"width": 123,
"height": 123,
"external_id": "<string>",
"external_metadata": {},
"tags": [
"<string>"
],
"alt_text": "<string>"
}The access token received from the authorization server in the OAuth 2.0 flow.
Company ID
Successful Response
upload, stock, ai_generated