Skip to main content

List service-account API keys

GET
/ai/admin/service-accounts/{id}/keys

Contract

Parameter
Value
Sectionai-admin
AuthenticationCookieAuth
Consumesnot required
Producesapplication/json

Parameters

1 parameter

Name
Location
Required
Type
Description
idpathyesintegerService-account ID

Responses

4 responses

Status
Description
Type
200
Successful responseobject
400
Invalid service-account IDobject
401
Unauthorizedobject
500
Internal server errorobject
  • {
      "cursor": {
        "count": 0,
        "currentPage": 0,
        "totalPages": 0,
        "totalRows": 0
      },
      "data": {}
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }