ReferenceAccounts
Transcoded from /iohr.accounts.v1.AccountsService/GetMe on the accounts backend.
A key needs scope account:read.
Authorization
bearer AuthorizationBearer <token>
An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (docs.inorbit.hr). The gateway verifies it; the audience is iohr-api.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/accounts/me"{ "account": { "created_at": "string", "erase_after": "string", "id": "string", "kind": "string", "name": "string", "plan": "string", "role": "string", "slug": "string", "status": "string" }, "email": "string", "email_verified": true, "key": { "client_id": "string", "created_at": "string", "created_by": "string", "id": "string", "last_used_at": "string", "name": "string", "revoked_at": "string", "scopes": [ "string" ], "secret_hint": "string" }, "name": "string", "stub": true, "subject": "string", "teams": [ { "created_at": "string", "erase_after": "string", "id": "string", "kind": "string", "name": "string", "plan": "string", "role": "string", "slug": "string", "status": "string" } ], "user_id": "string"}