Me
The key making the request, and what it can reach.
GET
/meWhat the key making the request can reach, who granted each permission, and what it lost in the last 30 days. Any key can call it, so it is the quickest check that a key works.
Authorization
apiKey AuthorizationBearer <token>
An API key (d3_k_…) from the dashboard’s API keys page.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/me"{ "id": "string", "name": "string", "prefix": "string", "organization_id": "string", "expires_at": "2019-08-24T14:15:22Z", "grants": [ { "permission": "dns:read", "resource": { "type": "domain", "all": true, "name": "string" }, "granted_by": "string", "granted_at": "2019-08-24T14:15:22Z" } ], "lapsed": [ { "permission": "string", "resource": { "type": "domain", "all": true, "name": "string" }, "lapsed_at": "2019-08-24T14:15:22Z", "reason": "removed" } ]}