Luxor Documentation Hub Logo
Mining Pool/API Documentation/V2/Members

Invite member

Creates a new member associated to a Workspace.

POST
/v2/workspace/members

Authorization

authorization<token>

Use your API key here.

In: header

Request Body

application/jsonRequired
emailRequiredstring
Format: "email"
permissionsRequiredarray<object>
curl -X POST "https://app.luxor.tech/api/v2/workspace/members" \
  -H "authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "user@example.com",
    "permissions": [
      {
        "role": "NO_ACCESS",
        "product": "POOL",
        "site_id": "b0a5fad8-0e09-4f10-ac20-ccd80fb2d138",
        "subaccount_id": 0
      }
    ]
  }'

Default Response

{
  "action_id": "52d6fa12-2c88-46da-984a-4cc821c7837a"
}