- Docs
- Api%2Freference%2Fapikeys%2FListApiKeys
List API keys
Retrieve a list of API keys with the option to limit the number of keys returned and paginate the results.
AuthorizationBearer <token>
In: header
Query Parameters
name?string
Filter the list of keys by name.
limit?integer
Maximum number of keys to return in the response.
Format
int64next?string
Pagination token to retrieve the next page of keys.
Response Body
application/json
application/json
application/json
curl -X GET "https://api-testnet.dual.network/api-keys"{
"keys": [
{
"id": "string",
"name": "string",
"expires_at": "2019-08-24T14:15:22Z",
"permissions": [
{
"resource": "api-keys",
"crud": {
"read": true,
"create": true,
"update": true,
"delete": true
}
}
],
"when_created": "2019-08-24T14:15:22Z",
"when_modified": "2019-08-24T14:15:22Z"
}
],
"next": "string"
}{
"code": 0,
"message": "string",
"details": {}
}{
"code": 0,
"message": "string",
"details": {}
}