Read admin profile
Returns the profile of the admin who makes the call: the signed-in admin of an admin token, or the admin that the API key acts for (the first admin of the organisation, which is not always the admin who created the key). Use it for an account or profile page. The answer is the profile itself, with no wrapper member.
Update admin profile
Changes the display name of the admin who makes the call. `organisationAdmin.name` is required and is the only field that changes; a name of only spaces changes nothing. The service accepts the members `id`, `email`, `avatarImageId`, `avatarImageUrl`, `lastSignIn`, `roleId` and `roleName` and ignores them. Another member gets `400`, also a member of [Read admin profile](/docs/openid4vc-api/config-read-admin-profile) that is not in this list, such as `phone`.
Read admin avatar image
Returns the avatar image of the admin who makes the call, as image bytes. An admin without an avatar image gets a default image. The `Content-Type` is always `image/jpeg`, also for a PNG, GIF or WebP image that the admin uploaded with [Update admin avatar image](/docs/openid4vc-api/config-update-admin-avatar).
Update admin avatar image
Replaces the avatar image of the admin who makes the call. Send the image as `multipart/form-data` in the `avatarimage` field: a PNG, JPEG, GIF or WebP image (the service reads the type from the bytes) of at most 5 MiB and 4096 x 4096 pixels (the defaults of the installation). Get the image back with [Read admin avatar image](/docs/openid4vc-api/config-read-admin-avatar). The answer is a flat object with no wrapper member.
Read admin authentication configuration
Returns the sign-in methods of the admin who makes the call: whether password sign-in is on, and for passwordless sign-in with a wallet, whether it is on and the iGrant.io Authenticator credential of the admin. Use it to show the login settings on an account page.