Was this helpful?
Retrieves the current authenticated user's details
GET /users HTTP/1.1 Host: api.laminar.run Authorization: Bearer JWT Accept: */*
User details retrieved successfully
{ "id": 1, "firstName": "text", "lastName": "text", "email": "text" }
Deletes the user with the specified ID
DELETE /users/{id} HTTP/1.1 Host: api.laminar.run Authorization: Bearer JWT Accept: */*
User deleted successfully
No content
Updates the user details for the specified ID
PUT /users/{id} HTTP/1.1 Host: api.laminar.run Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 60 { "id": 1, "firstName": "text", "lastName": "text", "email": "text" }
User updated successfully
Creates a new user with the provided details
POST /users HTTP/1.1 Host: api.laminar.run Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 60 { "id": 1, "firstName": "text", "lastName": "text", "email": "text" }
User created successfully