Was this helpful?
Updates the user details for the specified ID
/users/{id}
curl -L \ --request PUT \ --url 'https://api.laminar.run/users/{id}' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{ "id": 1, "firstName": "text", "lastName": "text", "email": "text" }'
{ "id": 1, "firstName": "text", "lastName": "text", "email": "text" }
Deletes the user with the specified ID
curl -L \ --request DELETE \ --url 'https://api.laminar.run/users/{id}' \ --header 'Authorization: Bearer JWT'
No body
Retrieves the current authenticated user's details
/users
curl -L \ --url 'https://api.laminar.run/users' \ --header 'Authorization: Bearer JWT'
Creates a new user with the provided details
curl -L \ --request POST \ --url 'https://api.laminar.run/users' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{ "id": 1, "firstName": "text", "lastName": "text", "email": "text" }'