Create an API User
Create an API user.
Authorizations
X-Ledger-API-KeystringRequired
If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, see step 5 of the get started documentation.
Body
namestringRequiredExample:
Api user name
api_lam_userPattern: ^\w{1,20}$Responses
200
API user object
application/json
400
User already exists
application/json
post
/api_usersPOST /api_users HTTP/1.1
Host:
X-Ledger-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"name": "api_lam_user"
}{
"device_id": "1a24480566ce42c2",
"name": "api_lam_user",
"role": "OPERATOR",
"type_": "SOFT_PSD",
"workspace": "crypstocks"
}Last updated