17 lines
257 B
Python
17 lines
257 B
Python
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)
|