List users
const options = {method: 'GET'};
fetch('https://api.example.com/v1/regions/global/iam/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/regions/global/iam/users"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}curl --request GET \
--url https://api.example.com/v1/regions/global/iam/usersimport requests
url = "https://api.example.com/v1/regions/global/iam/users"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"id": "<string>",
"email": "jsmith@example.com",
"emailVerified": true,
"status": "active",
"name": "<string>",
"image": "<string>",
"mfaEnabled": true,
"lastLoginAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"total": 123,
"limit": 123,
"offset": 123
}
}IAM Users
List users
List tenant users with optional filtering
GET
/
v1
/
regions
/
global
/
iam
/
users
List users
const options = {method: 'GET'};
fetch('https://api.example.com/v1/regions/global/iam/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/regions/global/iam/users"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}curl --request GET \
--url https://api.example.com/v1/regions/global/iam/usersimport requests
url = "https://api.example.com/v1/regions/global/iam/users"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"id": "<string>",
"email": "jsmith@example.com",
"emailVerified": true,
"status": "active",
"name": "<string>",
"image": "<string>",
"mfaEnabled": true,
"lastLoginAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"total": 123,
"limit": 123,
"offset": 123
}
}Query Parameters
Filter by status
Available options:
active, suspended, deactivated Search by name or email
Maximum results
Results to skip
Was this page helpful?