mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #1427] Error deleting client: 404 v2.0.2 #960
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#960
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cmn13-86 on GitHub (Dec 22, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1427
Welcome
Description of the problem,screencshot would be good
Client not being deleted:
http://{ip_server}:{port_server}/panel/api/inbounds/10/delClient/c584b57b-1eac-46e7-9bde-110217c67314
Error deleting client: 404
delete_url = f"http://{ip_server}:{port_server}/panel/api/inbounds/{inbound_id}/delClient/{client_id}"
print(delete_url)
headers = {'Accept': 'application/json'}
Version of 3x-ui
x-ui log reports or xray log
Xray: v1.8.6
paste log here
@Arman-nsb commented on GitHub (Dec 28, 2023):
Hello,
Have you sent a POST request to the login endpoint before that?
You must save the "session" cookie in the response header of /login endpoint and add it to the request header for other endpoint calls.