PoPaAP
PoPaAP WebsiteDiscord
PoPaAP WebsiteDiscord
  1. User Authentication
  • Use Encrypted Body
    • Javascript
  • API
    • Auth
      • Create Developer Account
      • Developer Login
      • Get My Profile
    • Applications
      • List My Applications
      • Create New Application
      • Get Application Limits
      • Get Application Details
      • Update Application
      • Delete Application
    • Statistics
      • Get Statistics
    • Plans
      • Create New Plan
      • Get Application Plans
      • Update Plan
      • Delete Plan
    • Licenses
      • Generate Licenses
      • Get Application Licenses
      • Validate License
      • Check License Expiration
      • Update License Notes
      • Delete License
      • Get My Licenses
      • Reset License HWID
      • Get License Users
    • User Authentication
      • Create User Account
        POST
      • User Login
        POST
      • Validate User License
        POST
      • Update User License
        POST
      • Get User Info
        GET
    • Variables
      • Get Public Variable
    • /files
    • /collaborators
    • /logs
    • /webhooks
    • Check API Health Status
      GET
PoPaAP WebsiteDiscord
PoPaAP WebsiteDiscord
  1. User Authentication

Update User License

POST
https://v1.popaap.cc/api/user-auth/update-license
Last modified:2025-07-25 18:02:02
Maintainer:Kipstz

Request

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://v1.popaap.cc/api/user-auth/update-license' \
--header 'Content-Type: application/json' \
--data-raw '{
    "app_id": "c0e851e1-4c61-4292-b31a-9709ea076b5a",
    "old_license_key": "391DCADAB25B5B157EEC3FA48DA305ED",
    "new_license_key": "AF30170C98C2925DCF4939FBD0A7FD53",
    "hwid": "hwid"
}'
Response Response Example
{
    "message": "License updated successfully",
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjMsInVzZXJuYW1lIjoiVXNlclRlc3QiLCJhcHBsaWNhdGlvbklkIjoxMiwibGljZW5zZUlkIjo4LCJpYXQiOjE3NTIxNDM0MzcsImV4cCI6MTc1Mjc0ODIzN30.v_jiqevjprC76M5Q5cjonttXWy8HN0kpVprLPV-q_qc",
    "user": {
        "id": 3,
        "username": "UserTest",
        "license_key": "391DCADAB25B5B157EEC3FA48DA305ED",
        "license_plan": {
            "id": 6,
            "name": "test",
            "duration_days": null
        },
        "hwid": "hwid",
        "ip_address": "127.0.0.1",
        "last_login": "2025-07-10T10:30:37.714Z"
    }
}
Modified at 2025-07-25 18:02:02
Previous
Validate User License
Next
Get User Info
Built with