Laminar
  • Laminar
  • Platform
    • Overview
    • Getting Started
    • Advanced
      • Configurations
      • HTTP Request Batching
      • Workflow Exit Points
      • Invoke Secondary Workflows
      • Managing Notifications
    • Best Practices
    • Keywords
      • lam.resolveThenExecute
      • lam.exit
      • lam.execute
      • lam.asyncExecute
      • lam.httpRequest
      • lam.httpRequests
  • Concepts
    • Workflows
      • Global Workflow Object
    • Flows
      • Flow Types
        • HTTP Request
        • Data Transformations
      • Flow Runs
      • Supported Languages
    • API Key
    • Configurations
    • API
      • Reference
        • Workspaces
          • Issues
          • Users
          • Invitations
            • Decline
            • Accept
            • Received
            • Created
          • Workflows
          • Flows
          • Auth credentials
          • Api keys
          • Api descriptions
        • Workflow
          • Execute
            • External
          • Flows
          • Executions
        • Users
        • Flows
          • Runs
          • Versions
          • Stats
          • Recent runs
          • Read
        • Configurations
          • Properties
          • Flow credentials
          • Workspace
        • Auth credentials
        • Api descriptions
        • Api keys
        • Transform
          • Test
        • Lami
          • Public
          • Direct
        • Auth
          • Signin
          • Register
          • Refresh
          • Me
          • Users
            • Password
    • Changelog
  • External Links
    • Book a Demo
    • Playground
    • Sign In
  • Specification
Powered by GitBook
On this page

Was this helpful?

  1. Concepts
  2. API
  3. Reference

Users

PreviousExecutionsNextFlows

Was this helpful?

Get current user

get

Retrieves the current authenticated user's details

Authorizations
Responses
200
User details retrieved successfully
*/*
404
User not found
*/*
get
GET /users HTTP/1.1
Host: api.laminar.run
Authorization: Bearer JWT
Accept: */*
{
  "id": 1,
  "firstName": "text",
  "lastName": "text",
  "email": "text"
}
  • PUTUpdate user
  • DELETEDelete user
  • GETGet current user
  • POSTCreate a new user

Delete user

delete

Deletes the user with the specified ID

Authorizations
Path parameters
idinteger · int64Required
Responses
204
User deleted successfully
delete
DELETE /users/{id} HTTP/1.1
Host: api.laminar.run
Authorization: Bearer JWT
Accept: */*
204

User deleted successfully

No content

Update user

put

Updates the user details for the specified ID

Authorizations
Path parameters
idinteger · int64Required
Body
idinteger · int64Optional
firstNamestringRequired
lastNamestringRequired
emailstringRequired
Responses
200
User updated successfully
*/*
404
User not found
*/*
put
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"
}
{
  "id": 1,
  "firstName": "text",
  "lastName": "text",
  "email": "text"
}

Create a new user

post

Creates a new user with the provided details

Authorizations
Body
idinteger · int64Optional
firstNamestringRequired
lastNamestringRequired
emailstringRequired
Responses
201
User created successfully
*/*
post
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"
}
201

User created successfully

{
  "id": 1,
  "firstName": "text",
  "lastName": "text",
  "email": "text"
}