'init'
This commit is contained in:
16
localAPI-main/py-examples/example-delete-profile.py
Normal file
16
localAPI-main/py-examples/example-delete-profile.py
Normal file
@@ -0,0 +1,16 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user