Databases
List database users
List all database users associated with the server.
Processing mode: <small><code>sync</code></small>
get/orgs/{organization}/servers/{server}/database/users
Request
- Base URLhttps://forge.laravel.com/api
- AuthOAuth 2Authorization codehttps://forge.laravel.com/oauth/authorizeToken URLhttps://forge.laravel.com/oauth/tokenScopesserver:view
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organizationstring required
The organization slug
serverinteger required
The server ID
Query parameters
sortstring
Available sorts are name, created_at, updated_at. You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -name.
page[size]integer
The number of results that will be returned per page.
page[cursor]string
The cursor to start the pagination from.
filter[name]string
Example:forge
The name of the database user.
filter[status]string
Example:installed
The status of the database user.
Response
Paginated set of DatabaseUserResource
Example response
{
"data": [
{
"attributes": {
"name": "forge",
"status": "installed",
"created_at": "2025-07-29T09:00:00Z",
"updated_at": "2025-07-30T09:00:00Z"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.