Access control
Add Access Method
Accesso
Membro dell’organizzazione con questo permesso:
access-control:write
Una chiave API con scope deve avere il permesso anche tra i suoi scope.
POST
Adds one or more access methods. For QR_CODE, optional quantity creates multiple distinct QR methods with generated values; optional printThermalOnCreate queues a thermal ticket print per created QR.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
type?stringDefault
"LPR"Value in
"NFC""QR_CODE""LPR""PIN_CODE"value?stringLength
length <= 255Default
""customerId*stringLength
1 <= lengthstatus?stringDefault
"ACTIVE"Value in
"BLOCKED""INACTIVE""SOFT_BLOCKED""ACTIVE"brand?stringcolor?stringmodel?stringperiodFrom?stringFormat
date-timeperiodTo?stringFormat
date-timecomments?stringdoNotAutoExtend?booleanDefault
falseautoConvertToLpr?booleanDefault
falsequantity?integerRange
1 <= value <= 100Default
1printThermalOnCreate?booleanDefault
falsecustomFields?OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//access-methods' \ -H 'Content-Type: application/json' \ -d '{ "customerId": "string"}'Example Response
null