> For the complete documentation index, see [llms.txt](https://docs-epc.gitbook.io/ncs-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-epc.gitbook.io/ncs-documents/database-as-a-service/sql-database/manage-sql-database-user/delete-database-user.md).

# Delete Database User

ลบ Database User ที่ไม่ได้ใช้งานแล้ว และจะไม่สามารถกู้คืนกลับมาใช้งานได้

## Instructions

### 1. เข้าสู่หน้า Database Instances&#x20;

เลือกรายการ “Database Instances” ที่ Sidebar จากเมนู SQL Database

<figure><img src="/files/Hzvz02IxjX7TbmNso1px" alt=""><figcaption><p>เข้าสู่หน้า Database Instances</p></figcaption></figure>

### 2. เข้า tab Access Management&#x20;

เข้าไปที่หน้า Database Instance Detail ของ Database Instance ที่ต้องการทำคำสั่ง แล้วกดที่ tab Access Management ระบบจะแสดงรายการ Database User

<figure><img src="/files/2zS12a2O4ykQ9TNgHWf4" alt=""><figcaption><p>เข้า tab Access Management</p></figcaption></figure>

### 3. เลือกคำสั่ง Delete Database User&#x20;

เลือกคำสั่ง Delete Database User ได้จากปุ่ม Delete ภายใต้ปุ่ม “MORE” ของ Database User ที่ต้องการทำคำสั่ง

<figure><img src="/files/wZ8GU2kVs6dgn3UDvcol" alt=""><figcaption><p>เลือกคำสั่ง Delete Database User</p></figcaption></figure>

### 4. ทำการยืนยันคำสั่ง Delete Database User

หลังกดปุ่ม Delete ระบบจะแสดงหน้าต่างเพื่อให้ยืนยันคำสั่ง หลังจากนั้นกดปุ่ม “DELETE” เพื่อเริ่มการ Delete Database User

<figure><img src="/files/uZWbnD4q4DeOkAAvRRzh" alt=""><figcaption><p>ยืนยันคำสั่ง Delete Database User</p></figcaption></figure>

### 5. Database User ที่ถูกสั่งลบจะหายไป&#x20;

หลังจากทำคำสั่งสำเร็จ ระบบจะทำการ Delete Database User ให้รอจนกว่า Database User จะหายไปจากรายการ Database User แสดงว่าคำสั่งได้ทำสำเร็จ

<figure><img src="/files/oe7SEIuFR2DeOMXYrr3U" alt=""><figcaption><p>Database User ถูกลบสำเร็จ</p></figcaption></figure>
