Set as default profile

Makes a profile the account default

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

PUT /profile/{profile_id}?type=set-default

Makes this profile the account's default. Only one profile can be default at a time; the previous default is automatically demoted.

Videos without an explicit profile always use the Default.

Request body (optional)

FieldTypeDescription
unlinkedVideosStrategystringWhat to do with videos that were using the previous default implicitly. apply-new: they follow the new default. keep-current: they get explicitly re-linked to the previous default so their config does not change
curl -X PUT "https://api-v2.pandavideo.com.br/profile/{profile_id}?type=set-default" \
  -H "Authorization: {api_key}" \
  -H "Content-Type: application/json" \
  -d '{ "unlinkedVideosStrategy": "apply-new" }'
{
  "message": "Default profile updated",
  "id": "{profile_id}",
  "videoMigrationQueued": true
}

⚠️ Using the wrong HTTP method returns 405 with a message indicating the expected method.

Errors

StatusCause
404Profile not found
405Wrong method (must be PUT)
Path Params
uuid
required
Body Params
string
enum

What to do with unlinked videos from the previous default. apply-new: follow the new default. keep-current: re-link to the previous default explicitly.

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json