Luxor Documentation Hub Logo
Mining Pool/API Documentation/Workspaces

Get workspace member

Retrieve a user-group membership containing user and role info.

GET
/v1/workspace/groups/{group_id}/members/{user_id}

Authorization

authorization<token>

Use your API key here.

In: header

Path Parameters

group_idRequiredstring

An alternate shortcut for specifying subaccounts. Can be used in place of subaccount_names

Format: "uuid"
user_idRequiredstring

A user ID for which to retrieve user information.

Format: "uuid"
curl -X GET "https://beta.luxor.tech/api/v1/workspace/groups/497f6eca-6276-4993-bfeb-53cbbbba6f08/members/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "authorization: <token>"

Default Response

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "user": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "email": "[email protected]",
    "first_name": "John",
    "last_name": "Doe"
  },
  "status": "ACTIVE",
  "role": "ADMIN"
}