Delete profile

Deletes a profile with strategy for linked videos

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

DELETE /profile/{profile_id}

Deletes a profile. If videos are linked to it, you must send a strategy in the request body to choose what happens to them.

Request body

FieldTypeRequiredDescription
strategystringconditionalmigrate or keep. Required if the profile has linked videos
target_profile_iduuidconditionalRequired when strategy is migrate. The profile to move linked videos to

Strategy: migrate

Moves all linked videos to another profile.

curl -X DELETE "https://api-v2.pandavideo.com.br/profile/{profile_id}" \
  -H "Authorization: {api_key}" \
  -H "Content-Type: application/json" \
  -d '{
    "strategy": "migrate",
    "target_profile_id": "{other_profile_id}"
  }'

Strategy: keep

Keeps each video's current player settings as its own exclusive config.

curl -X DELETE "https://api-v2.pandavideo.com.br/profile/{profile_id}" \
  -H "Authorization: {api_key}" \
  -H "Content-Type: application/json" \
  -d '{ "strategy": "keep" }'

📝 When more than 5 videos are linked, the migration/keep operation runs in the background. The delete returns immediately.

Errors

StatusCause
400Profile has linked videos but no strategy was sent
400Strategy is migrate but target_profile_id is missing
400Cannot delete the account's default profile
404Profile not found
Path Params
uuid
required
Body Params
string
enum

What happens to linked videos: migrate them to another profile, or keep each video's current settings.

Allowed:
uuid

Required when strategy is migrate. The profile to move linked videos to.

Responses

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