cURL
curl --request POST \ --url https://api-new.paineloffice.click/iptv/recreate \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>", "pass": "<string>" } '
{ "400": {}, "401": {}, "404": {}, "500": {}, "success": true, "message": "<string>", "data": { "id": "<string>", "username": "<string>", "password": "<string>", "status": "<string>", "updatedAt": "<string>" } }
Recreate um usuário IPTV existente
POST /iptv/recreate Authorization: Bearer <token> Content-Type: application/json Body: { "id": "<user_id>", "pass": "<nova_senha>" }
Show properties
{ "id": "507f1f77bcf86cd799439011", "pass": "novaSenha123" }
{ "success": true, "message": "Usuário IPTV recreate com sucesso", "data": { "id": "507f1f77bcf86cd799439011", "username": "usuario_iptv_001", "password": "novaSenha123", "status": "active", "updatedAt": "2025-10-27T14:30:00Z" } }