Skip to content

List keycards

POST
/api/keycards/list

List the keycards of the namespace, can be filtered by binding (send null for no binding)

Request Body required

object
where
required
object
binding
Any of:
object
chargerId
required
string
pagination
required
object
skip
integer
>= -9007199254740991 <= 9007199254740991
take
integer
>= -9007199254740991 <= 9007199254740991

Responses

200

Response for status ok

object
success
required
boolean
count
required
integer
keycards
required
Array<object>
object
id
required
string
<= 20 characters
namespaceId
required
string
friendlyId
string
binding
Any of:
object
chargerId
required
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time

400

Response for status badRequest

object
success
required
boolean
message
required
string

403

Response for status forbidden

object
success
required
boolean
message
required
string

500

Response for status internalServerError

object
success
required
boolean
message
required
string