Retrieve a person's credentials
Retrieves credentials linked to the specified person in your organization.
Path Parameters
- person_id string required
The person ID
Example: 903c1ff9-f2cc-435c-b242-9d8a690fcf0a
Header Parameters
- SlashID-OrgID string required
The organization ID
Example: af5fbd30-7ce7-4548-8b30-4cd59cb2aba1
Responses
- 200
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage stringresult object[]
params objectA set of key-value pair parameters for the credential. The required parameters depend on the type of credential. For public key credentials, the following are required:
- PublicKey : base64-encoded public key
- AttestationType : should be "public-key" for public keys
- Authenticator : a map of key-value pairs, including the key "AAGUID" mapped to the base64-encoded AAGUID of the authenticator device
type stringPossible values: [
public-key]The type of the credential
label stringid stringThe ID of the credential
last_used date-timeThe time when the credential was last used to authenticate successfully
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
],
"result": [
{
"params": {},
"type": "public-key",
"label": "string",
"id": "string",
"last_used": "2023-10-16"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}