Get Services TenantID Keys
GET /api/v1/services/tenants/{tenantId}/keys
Description
Retrieve keys for a specific tenant with optional filters.
Path Parameters
| Name | Type | Description |
|---|---|---|
tenantId | string | The tenant ID (path) |
Query Parameters
| Name | Type | Description |
|---|---|---|
keyByStatuses | string | Allowed fields separated by comma: ACTIVE, DISABLED, REVOKED, REFRESHED, EXPIRED |
order | string | Available values: ASC, DESC |
page | string | Page number |
limit | string | Number of results per page |
Example
GET /api/v1/services/tenants/{tenantId}/keys?keyByStatuses=ACTIVE,DISABLED&order=ASC&page=1&limit=10
Content-Type: application/json
Response Code: 200 - OK
Description
Request was successful.
Response Fields
No specific fields provided.
Example
{
"status": true,
"statusCode": 0,
"message": "Keys retrieved successfully",
"data": [],
"errors": []
}
Headers
| Content-Type | Value |
|---|---|
| apiKey | {{apiKey}} |
| userid | string |
🔑 Authentication bearer
| Param | Value | Type |
|---|---|---|
| token | {{accessCode}} | string |
LANGUAGE
CURL REQUEST
curl --request GET \
--url /api/v1/services/tenants/{tenantId}/keys \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!