identity
Whoami
Changed onRetrieves the details about the current authenticated entity used to access the API.
get/whoami
Request
- Base URLhttps://api.dnsimple.com/v2
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful response with user or account.
Example response
{
"data": {
"account": {
"id": 1,
"email": "example-account@example.com",
"plan_identifier": "teams-v1-monthly",
"created_at": "2015-09-18T23:04:37Z",
"updated_at": "2016-06-09T20:03:39Z"
}
}
}Changes
- breaking
added
subschema #1subschema #2to theresponse propertyoneOflist for the response status - info
removed
subschema #1subschema #2from theresponse propertyoneOflist for the response status
- breaking
- breaking
added
subschema #1subschema #2to theresponse propertyoneOflist for the response status - info
removed
subschema #1subschema #2from theresponse propertyoneOflist for the response status
- breaking