Skip to main content

Get Services TenantID Keys

GET /api/v1/services/tenants/{tenantId}/keys

Description​

Retrieve keys for a specific tenant with optional filters.

Path Parameters​

NameTypeDescription
tenantIdstringThe tenant ID (path)

Query Parameters​

NameTypeDescription
keyByStatusesstringAllowed fields separated by comma: ACTIVE, DISABLED, REVOKED, REFRESHED, EXPIRED
orderstringAvailable values: ASC, DESC
pagestringPage number
limitstringNumber 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-TypeValue
apiKey{{apiKey}}
useridstring

🔑 Authentication bearer​

ParamValueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

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!