put
https://api-v2.pandavideo.com.br/profile/?type=set-default
Makes a profile the account default
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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)
| Field | Type | Description |
|---|---|---|
unlinkedVideosStrategy | string | What 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
| Status | Cause |
|---|---|
| 404 | Profile not found |
| 405 | Wrong method (must be PUT) |
