dataos-sdk-kt
jvm
heimdall
/
io.dataos.heimdall.client.apis
/
UsersApi
Users
Api
interface
UsersApi
Interface for interacting with user data.
Members
Functions
get
Link copied to clipboard
@
GET
(
value
=
"api/v1/users/{id}"
)
abstract
fun
get
(
@
Path
(
value
=
"id"
)
userId
:
String
,
@
Header
(
value
=
"dataos-correlation-id"
)
correlationId
:
String
=
UUID.randomUUID().toString()
)
:
Call
<
User
>
Retrieves a user by their ID.
list
Link copied to clipboard
@
GET
(
value
=
"api/v1/users"
)
abstract
fun
list
(
@
Header
(
value
=
"dataos-correlation-id"
)
correlationId
:
String
=
UUID.randomUUID().toString()
)
:
Call
<
List
<
User
>
>
Retrieves a list of users.