Files
ai_mip/localAPI-main/py-examples/example-regroup-profile.py

18 lines
286 B
Python
Raw Normal View History

2026-01-13 18:59:26 +08:00
import requests
url = "http://local.adspower.net:50325/api/v1/user/regroup"
payload = {
"user_ids": [
"XX"
],
"group_id": "0"
}
headers = {
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, json=payload)
print(response.text)