v1
latestOpenAPI 3.0.32026-08-067332206.6 KBattachments
Update an attachment
Updates a matching attachment.
put/attachments/{attachment_id}
Request body
Example request
{
"data": {
"attributes": {
"filename": "brandfolder_logo.png",
"url": "https://example.com/brandfolder_logo.png?expiry=1625260667\n"
}
}
}Response
The updated attachment.
Example response
{
"data": {
"id": "oqgkkd-fr3j84-33j7db",
"attributes": {
"mimetype": "image/png",
"extension": "png",
"filename": "brandfolder_logo.png",
"size": 123456,
"width": 1920,
"height": 1080,
"url": "https://some_domain.com/brandfolder_logo.png?expiry=1625260667",
"thumbnail_url": "https://some_domain.com/some_thumbnail.png"
}
}
}