Create a list
$ lightfield list create
POST/v1/lists
Creates a new list. The $name and $objectType fields are required.
Supports idempotency via the Idempotency-Key header.
Required scope: lists:create
Rate limit category: Write
Create a list
lightfield list create \
--api-key 'My API Key' \
--fields '{$name: $name, $objectType: account}'{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink"
}Returns Examples
{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink"
}