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

Create site

Creates a new site associated to a Workspace.

POST
/v2/workspace/sites

Authorization

authorization<token>

Use your API key here.

In: header

Request Body

application/jsonRequired
nameRequiredstring
Minimum length: 1
curl -X POST "https://app.luxor.tech/api/v2/workspace/sites" \
  -H "authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Site"
  }'

Default Response

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "My Site"
}