Skip to main content
PUT
/
api
/
media-profile
/
edit
/
Edit Media Profile API Endpoint
curl --request PUT \
  --url https://backend.clipvision.ai/api/media-profile/edit/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "media_profile_id": 123,
  "profile_name": "<string>",
  "watermark_path": "",
  "watermark_position": 123,
  "end_clip_path": "",
  "preview_url": "<string>"
}'
{
  "media_profile_id": 1,
  "disabled": false,
  "profile_name": "New Media Profile",
  "watermark_path": null,
  "watermark_position": null,
  "end_clip_path": null,
  "preview_url": null
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
media_profile_id
integer
required
watermark_path
enum<string>
required
Available options:
,
local_files/watermarks/placeholder.png
end_clip_path
enum<string>
required
Available options:
,
local_files/endclips/placeholder.mp4
profile_name
string
Minimum length: 1
watermark_position
integer
preview_url
string
Minimum length: 1

Response

Successfully edited the media profile

Media Profile OpenAPI Schema

media_profile_id
integer
disabled
boolean
profile_name
string
watermark_path
string
watermark_position
object

Overlay Coordinate OpenAPI Schema

end_clip_path
string
preview_url
string