mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5181] [Bug]: Api doesn't have ability to change Subscription ID & Passwords #3638
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#3638
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 @elegance666 on GitHub (Jun 10, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5181
Describe the bug
ورژن ۳.۳ خیلی خوبه، فقط با ایپیآی نمیشه پسوردها عوض کرد
How to reproduce the problem
1
Expected behavior
اگر تو اوتباند هم یک فیلد باشه برای comment ادمین خیلی خوب میشه
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.3
Xray-core version
No response
How did you install 3x-ui?
install.sh script
Operating system
Ubintu 22
Which parts of the panel are affected?
No response
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@github-actions[bot] commented on GitHub (Jun 10, 2026):
سلام @elegance666 👋
خوشحالیم که از نسخه ۳.۳ راضی هستید!
در مورد تغییر Password و Subscription ID از طریق API:
این قابلیت از قبل در API وجود دارد — فقط باید آنها را در body درخواست
POSTارسال کنید. بررسی کد (internal/web/service/client_crud.go) نشان میدهد که اگر مقدار پاس بدهید، بهروزرسانی میشود؛ و اگر خالی بگذارید، مقدار قبلی حفظ میشود.Endpoint:
مثال — تغییر همزمان password و subId:
نمونه با curl:
مستندات کامل API از طریق Swagger در پنل شما در دسترس است (مسیر
/panel/api/swaggerیا لینکی که در تنظیمات پنل نمایش داده میشود).در مورد فیلد comment برای outbound:
این یک درخواست feature جداست. در حال حاضر مدل
OutboundSubscriptionفقط فیلدremarkدارد وcommentندارد. اگر میخواهید این قابلیت اضافه شود، میتوانید یک issue جداگانه با برچسب enhancement باز کنید و جزئیات use-case خود را توضیح دهید تا maintainerها آن را بررسی کنند.