Media ID
Modify asset
Requires the MEDIAEDIT security role. Requires the MARKPUBLIC security role in order to change an asset's isPublic state.
Custom thumbnails
To set a custom thumbnail, first upload the thumbnail image using the Modern Stack File Upload flow, then call this endpoint with the returned file id as customThumbnailFileId. To remove an existing custom thumbnail and revert to the automatically generated one, call this endpoint with removeCustomThumbnail=true. The two fields are mutually exclusive.
post/api/v4/media/{id}
Request
- Base URLhttps://{your-bynder-domain}
- URLhttps://{your-bynder-domain}/api/v4/media/{id}
- Auth
- API key in header Authorization
- or OAuth 2Authorization code: https://{your-auth-url}Client credentialsToken URL: https://{your-bynder-domain}/v6/authentication/oauth2/token scopes: , MEDIAEDIT, MARKPUBLIC
Path parameters
idstring required
Asset id.
Request body application/x-www-form-urlencoded
Example request
{
"customThumbnailFileId": "00000000-0000-0000-0000-000000000000",
"metaproperty": {
"02509778-CEE3-43D5-9E96-9A60B1E78314": "option_id1,option_id2",
"EF122F1F-9BA0-4772-80F1-BF05588B1A59": "option_id3"
},
"removeCustomThumbnail": true
}Response
Accepted
Changes
No recorded changes to this operation across all 1 revision of this API.