cURL
curl --request POST \ --url https://api-new.paineloffice.click/iptv/migrate/{id} \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "packageId": "<string>", "typeUser": 123 } '
{ "400": {}, "401": {}, "404": {}, "500": {}, "success": true, "message": "<string>", "data": { "id": "<string>", "packageId": "<string>", "typeUser": 123, "updatedAt": "<string>" } }
Migra um usuário IPTV para um novo pacote
POST /iptv/migrate/{id} Authorization: Bearer <token> Content-Type: application/json
Show properties
{ "packageId": "5da17892133a1d61888029aa", "typeUser": 2 }
{ "success": true, "message": "Usuário IPTV migrado com sucesso", "data": { "id": "507f1f77bcf86cd799439011", "packageId": "5da17892133a1d61888029aa", "typeUser": 2, "updatedAt": "2024-10-22T14:30:00Z" } }