Skip to main content
Return the API key owner’s user id, email, and teams with their write access. Pass a writable team’s id as teamId when creating a project.

Signature

Method signature on client:

Parameters

This method takes no arguments.

Returns

Promise<CurrentUser> The authenticated API key owner.
string
required
The platform user id of the API key owner.
string | null
required
The email of the API key owner, if known.
object[]
required
The teams the API key owner belongs to, excluding blocked ones.

Errors

HTTP errors throw PotatoApiError. The endpoint documents these error responses: HTTP endpoint: GET /me.