Was this helpful?
Manage brands media
Deletes a specified public image from a brand. This endpoint is deprecated. Please use media-service instead.
deprecated
media-service
Required scopes
brand.brand_delete
Unique identifier of a media file.
DELETE /media/{mediaId} HTTP/1.1 Host: api.emporix.io Authorization: Bearer YOUR_OAUTH2_TOKEN Accept: */*
The image has been successfully deleted.
No content
Creates a public image for a brand. This endpoint is deprecated. Please use media-service instead.
brand.brand_manage
Actual file content.
The metadata for the image as string encoded json - only simple strings are supported.
Image metadata json
POST /media HTTP/1.1 Host: api.emporix.io Authorization: Bearer YOUR_OAUTH2_TOKEN Content-Type: multipart/form-data Accept: */* Content-Length: 52 { "file": "Ynl0ZXM=", "metadata": "Image metadata json" }
The image has been successfully created.
{ "link": "https://res.cloudinary.com/saas-ag/image/upload/tenant/brands/imageName.jpg", "id": "tenant/brands/d05f14d8-4fab-4c51-98f9-05a93d8ec822" }