get /role-store/api/v1/users/{user_id}/webauthn-credentials

Get user's webauthn credentials

offset

int

Offset where to start fetching the items

Default
0

limit

int

Number of items to return

Default
50

sortkey

string

Sort by specific object property

Enum
  • id
  • user_id
  • credential_id
  • name
  • last_used
  • author
  • created
  • updated
  • updated_by

sortdir

string

Sort direction, asc or desc

Default
"ASC"
Enum
  • ASC
  • DESC

Response

ExamplesSchema

Successful response

{
  "count": 123,
  "items": [
    {
      "id": "5bf77342-221c-11ee-be56-0242ac120002",
      "credential_id": "string",
      "name": "string",
      "comment": "string",
      "last_used": "2017-01-01T15:05:05Z",
      "created": "2017-01-01T15:05:05Z",
      "author": "5bf77342-221c-11ee-be56-0242ac120002",
      "updated": "2017-01-01T15:05:05Z",
      "updated_by": "eef4aefc-d64e-4c2c-aba4-4914c86ce059"
    }
  ]
}

get /role-store/api/v1/users/{user_id}/webauthn-credentials/{id}

Get user's webauthn credential

user_id

string

required

User ID

id

string

required

Credential UUID

Response

ExamplesSchema

Successful response

{
  "id": "5bf77342-221c-11ee-be56-0242ac120002",
  "credential_id": "string",
  "name": "string",
  "comment": "string",
  "last_used": "2017-01-01T15:05:05Z",
  "created": "2017-01-01T15:05:05Z",
  "author": "5bf77342-221c-11ee-be56-0242ac120002",
  "updated": "2017-01-01T15:05:05Z",
  "updated_by": "eef4aefc-d64e-4c2c-aba4-4914c86ce059"
}

put /role-store/api/v1/users/{user_id}/webauthn-credentials/{id}

Update user's webauthn credential meta data

name

string

Credential name

comment

string

Optional comment

Request

{
  "name": "string",
  "comment": "string"
}

Response

ExamplesSchema

Successful response

Empty response

delete /role-store/api/v1/users/{user_id}/webauthn-credentials/{id}

Delete user's webauthn credential

user_id

string

required

User ID

id

string

required

Credential UUID

Response

ExamplesSchema

Successful response

Empty response

Was this page helpful?