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
  4. Workspaces

Users

PreviousIssuesNextInvitations

Was this helpful?

Get all users in a workspace

get

Retrieves all users in the specified workspace

Authorizations
Path parameters
workspaceIdinteger · int64Required
Responses
200
Users retrieved successfully
*/*
Responsestring
404
Workspace not found
*/*
get
GET /workspaces/{workspaceId}/users HTTP/1.1
Host: api.laminar.run
Authorization: Bearer JWT
Accept: */*
text

Add user to workspace

post

Adds a user to the specified workspace with a role

Authorizations
Path parameters
workspaceIdinteger · int64Required
Query parameters
userEmailstringRequired
rolestring · enumRequiredPossible values:
Responses
201
User added to workspace successfully
404
Workspace not found
409
User is already in this workspace
post
POST /workspaces/{workspaceId}/users HTTP/1.1
Host: api.laminar.run
Authorization: Bearer JWT
Accept: */*

No content

Remove user from workspace

delete

Removes a user from the specified workspace

Authorizations
Path parameters
workspaceIdinteger · int64Required
Query parameters
userEmailstringRequired
Responses
204
User removed from workspace successfully
404
Workspace not found
delete
DELETE /workspaces/{workspaceId}/users HTTP/1.1
Host: api.laminar.run
Authorization: Bearer JWT
Accept: */*

No content

  • GETGet all users in a workspace
  • POSTAdd user to workspace
  • DELETERemove user from workspace