Skip to main content

UsersApi

The UsersApi provides utility methods for constructing API paths related to user operations.

Import

import { UsersApi } from '@geodome/gdk/core';

API Endpoints

Methods

getUsers()

Returns the API path for fetching all users.

createUser()

Returns the API path for creating a new user.

getUser(id: string)

Returns the API path for fetching a specific user by ID.

updateUser(id: string)

Returns the API path for updating a specific user by ID.

deleteUser(id: string)

Returns the API path for deleting a specific user by ID.

login()

Returns the API path for user login.

logout()

Returns the API path for logging out the user.

me()

Returns the API path for fetching the current user.


Base Path

All endpoints are constructed using the appropriate version and the users base path.