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

Invitations

PreviousUsersNextDecline

Was this helpful?

  • POST/workspaces/invitations
  • DELETE/workspaces/invitations/{id}
delete
Authorizations
Path parameters
idinteger · int64Required
Responses
204
No Content
delete
DELETE /workspaces/invitations/{id} HTTP/1.1
Host: api.laminar.run
Authorization: Bearer JWT
Accept: */*
204

No Content

No content

post
Authorizations
Body
userEmailstringRequired
workspaceIdinteger · int64Required
rolestring · enumRequiredPossible values:
Responses
200
OK
*/*
post
POST /workspaces/invitations HTTP/1.1
Host: api.laminar.run
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 51

{
  "userEmail": "text",
  "workspaceId": 1,
  "role": "OWNER"
}
200

OK

{
  "id": 1,
  "workspaceId": 1,
  "workspaceName": "text",
  "status": "PENDING",
  "invitedEmail": "text",
  "expiresAt": "2025-05-16T14:24:12.780Z",
  "invitedBy": {
    "id": 1,
    "name": "text",
    "email": "text"
  }
}