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

17 lines
257 B
Python
Raw Normal View History

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