Skip to Content

Users API

API for managing Users resources.

Fields

interface Users { roles?: string[]; }

API Endpoints

GET /api/users

Retrieves a list of Users with pagination.

Query Parameters

  • limit: Maximum number of items to return (default: 10)
  • page: Page number for pagination (default: 1)
  • sort: Field to sort by (default: createdAt)
  • where: JSON query for filtering results

GET /api/users/:id

Retrieves a single Users by ID.

POST /api/users

Creates a new Users.

PATCH /api/users/:id

Updates an existing Users.

DELETE /api/users/:id

Deletes a Users.

Last updated on