Media
Creates an image for a label. This endpoint is deprecated
. Please use media-service
instead.
See: Media Service
Required scopes
label.label_manage
Authorizations
Body
fileobject · binaryRequired
metadatastringOptional
Responses
200
Successfully created media.
application/json
401
Unauthorized. The caller is not allowed to access this resource.
application/json
403
Access forbidden. The caller is not allowed to access this resource.
application/json
500
Some server side error occurred.
application/json
post
POST /label/media HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 29
{
"file": {},
"metadata": "text"
}
{
"link": "https://res.cloudinary.com/saas-ag/image/upload/v1728023450/tenant/labels/0a075c00-3893-47e7-b0d7-84f9ba7e339a.jpg",
"id": "tenant/labels/0a075c00-3893-47e7-b0d7-84f9ba7e339a"
}
Deletes label image with specified media ID. This endpoint is deprecated
. Please use media-service
instead.
See: Media Service
Required scopes
label.label_manage
Authorizations
Path parameters
mediaIdstringRequired
Unique identifier of the media.
Responses
200
Media successfully deleted.
401
Unauthorized. The caller is not allowed to access this resource.
application/json
403
Access forbidden. The caller is not allowed to access this resource.
application/json
404
Resource does not exist.
500
Some server side error occurred.
application/json
delete
DELETE /label/media/{mediaId} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Was this helpful?