# Delete Database User

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

## Instructions

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

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

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FZG5FNFFEpEKxZ3ntHu7v%2Fimage.png?alt=media&#x26;token=bc3db530-3b40-42ac-ba25-864d051215be" 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="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FO2R8YLcyl4tDcdQfdBbI%2FScreen%20Shot%202566-12-20%20at%2014.46.44.png?alt=media&#x26;token=b1caac8d-5095-4507-b214-2e8964582843" alt=""><figcaption><p>เข้า tab Access Management</p></figcaption></figure>

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

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

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FEBlx0UHN4cuIAAU7WRh4%2FScreen%20Shot%202566-12-20%20at%2014.53.30.png?alt=media&#x26;token=48a36949-0991-4983-b1f1-f2b08da260b7" alt=""><figcaption><p>เลือกคำสั่ง Delete Database User</p></figcaption></figure>

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

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

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FZjEJBXZm4Nt8hHw2WD4B%2FScreen%20Shot%202566-12-20%20at%2015.08.36.png?alt=media&#x26;token=8a03a27c-f136-4516-8ce5-19ded9378a62" alt=""><figcaption><p>ยืนยันคำสั่ง Delete Database User</p></figcaption></figure>

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

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

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FNl8pHY5yjXQMgmvAtjUe%2FScreen%20Shot%202566-12-20%20at%2015.08.50.png?alt=media&#x26;token=e94f5e47-aaae-4740-bf4b-b020cdc4fcdb" alt=""><figcaption><p>Database User ถูกลบสำเร็จ</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-epc.gitbook.io/ncs-documents/database-as-a-service/sql-database/manage-sql-database-user/delete-database-user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
