Rename a passkey
Rename one of your passkeys (ids from list_connections). Use it when the user wants to tell their passkeys apart.
Rename one of your passkeys (ids from list_connections). Use it when the user wants to tell their passkeys apart.
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
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"}Sign out every browser POST
Sign out every browser session of your account; API keys and connected agents keep working. Asks for confirmation once (confirmToken). Use it when the user thinks their account was accessed by someone else.
Get the current user GET
Retrieve the user associated with the token used to authenticate the request, along with their accessible accounts (organizations) and GitHub linkage. Use it first in a conversation to learn which accounts, and so which owner slugs, this connection can reach. **Start here.** Call `getMe` first to discover which accounts (the `slug` field) the token can act on — `slug` is the `{owner}` path parameter used by every project-scoped endpoint. Then call `listProjects` with that owner to find the projects you can work with.