Snapvisor Docs

Rename a passkey

Rename one of your passkeys (ids from list_connections). Use it when the user wants to tell their passkeys apart.

PATCH
/me/passkeys/{passkeyId}

Rename one of your passkeys (ids from list_connections). Use it when the user wants to tell their passkeys apart.

Authorization

AuthorizationBearer <token>

Authenticate as a user with a personal access token.

Send it as a bearer token in the Authorization header:

Authorization: Bearer <personal-access-token>

Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.

In: header

Path Parameters

passkeyId*string

Id from list_connections.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/me/passkeys/string" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "string",  "name": "string",  "createdAt": "2019-08-24T14:15:22Z",  "lastUsedAt": "2019-08-24T14:15:22Z"}