List passkeys of an user
POST/v2/users/:userId/passkeys/_search
List passkeys of an user
Request​
Path Parameters
- application/json
- application/grpc
- application/grpc-web+proto
Body
required
object
Body
required
object
Body
required
object
Responses​
- 200
- 403
- 404
- default
OK
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object
the last time the projection got updated
result
object[]
Possible values: [AUTH_FACTOR_STATE_UNSPECIFIED, AUTH_FACTOR_STATE_NOT_READY, AUTH_FACTOR_STATE_READY, AUTH_FACTOR_STATE_REMOVED]
Default value: AUTH_FACTOR_STATE_UNSPECIFIED
current state of the passkey
Possible values: non-empty and <= 200 characters
{
  "details": {
    "totalResult": "2",
    "processedSequence": "267831",
    "timestamp": "2024-07-31T12:22:54.182Z"
  },
  "result": [
    {
      "id": "69629023906488334",
      "state": "AUTH_FACTOR_STATE_UNSPECIFIED",
      "name": "fido key"
    }
  ]
}
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object
the last time the projection got updated
result
object[]
Possible values: [AUTH_FACTOR_STATE_UNSPECIFIED, AUTH_FACTOR_STATE_NOT_READY, AUTH_FACTOR_STATE_READY, AUTH_FACTOR_STATE_REMOVED]
Default value: AUTH_FACTOR_STATE_UNSPECIFIED
current state of the passkey
Possible values: non-empty and <= 200 characters
{
  "details": {
    "totalResult": "2",
    "processedSequence": "267831",
    "timestamp": "2024-07-31T12:22:54.182Z"
  },
  "result": [
    {
      "id": "69629023906488334",
      "state": "AUTH_FACTOR_STATE_UNSPECIFIED",
      "name": "fido key"
    }
  ]
}
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object
the last time the projection got updated
result
object[]
Possible values: [AUTH_FACTOR_STATE_UNSPECIFIED, AUTH_FACTOR_STATE_NOT_READY, AUTH_FACTOR_STATE_READY, AUTH_FACTOR_STATE_REMOVED]
Default value: AUTH_FACTOR_STATE_UNSPECIFIED
current state of the passkey
Possible values: non-empty and <= 200 characters
{
  "details": {
    "totalResult": "2",
    "processedSequence": "267831",
    "timestamp": "2024-07-31T12:22:54.183Z"
  },
  "result": [
    {
      "id": "69629023906488334",
      "state": "AUTH_FACTOR_STATE_UNSPECIFIED",
      "name": "fido key"
    }
  ]
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object[]
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object[]
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object[]
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object[]
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object[]
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object[]
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object[]
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object[]
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
details
object[]
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}