Get details about API keys for a user
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_api_keys \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '{
"organizationId": "<string>",
"userId": "<string>"
}'
{
"apiKeys": [
{
"credential": {
"publicKey": "<string>",
"type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
},
"apiKeyId": "<string>",
"apiKeyName": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"expirationSeconds": "<string>"
}
]
}
A successful response.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_api_keys \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '{
"organizationId": "<string>",
"userId": "<string>"
}'
{
"apiKeys": [
{
"credential": {
"publicKey": "<string>",
"type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
},
"apiKeyId": "<string>",
"apiKeyName": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"expirationSeconds": "<string>"
}
]
}
Get details about API keys for a user
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_api_keys \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '{
"organizationId": "<string>",
"userId": "<string>"
}'
{
"apiKeys": [
{
"credential": {
"publicKey": "<string>",
"type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
},
"apiKeyId": "<string>",
"apiKeyName": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"expirationSeconds": "<string>"
}
]
}
A successful response.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_api_keys \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '{
"organizationId": "<string>",
"userId": "<string>"
}'
{
"apiKeys": [
{
"credential": {
"publicKey": "<string>",
"type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
},
"apiKeyId": "<string>",
"apiKeyName": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"expirationSeconds": "<string>"
}
]
}