dnsimple v0.9.2 Dnsimple.Identity

Summary

Functions

Returns information about the currently authenticated user and/or account

Functions

whoami(client, options \\ [])

Returns information about the currently authenticated user and/or account.

See: https://developer.dnsimple.com/v2/identity/#whoami

Examples:

client = %Dnsimple.Client{access_token: “a1b2c3d4”}

Dnsimple.Identity.whoami(client)