---
id: config-update-admin-avatar
title: "Update admin avatar image"
description: "Updates the avatar image of the admin that owns the access token. Send the image as `multipart/form-data` in the `avatarimage` field."
sidebar_label: "Update admin avatar image"
hide_title: true
hide_table_of_contents: true
api: eJzlV9tu2zgQ/ZUBX5oA8iVpCiyMotjUThdus0nQ3B6KAB5LY4uNRKok5cQN9O+LIWVbvqQ19mmB7UMqSzPDwzMzZ8gXkZCNjSyc1Er0xG2RoCMLLiXAGTo0IHOcEuhJeJfkUoFL0YF+UrVdHJO14PQjqTZck0r86+CHFkZ5mTlZoHGdiTZ5K0GHI/BhCEZhFW88gomkLGmLSOiCDDKmYSJ6ItZqIqcB2ykjOPVOIhKGfpRk3UedzEXvxf+UhhLRc6akiB0dKcefdoDg1zZOKfdPbl6Q6Ak9/k6xq0OHWN9EA6R4iERhGJ+TZNmx+XEVxzoj1VREgpdDJ3piLBWauYg2KL9JCRQ9rdHdFpX/xyhsoZUNKx13u/zftr8lM5MxQekpSrbSx5Q2uMCiyGTs+e18txzlV0Ss71abKSppvbPPxS4XJ13GLy63jCPx3FLataTyKRijJdGbYGZpnXGF+Q6qZfJLhkUk6Bnzwq+9RbSoIkE5ymxXjHXTM29WRQHGb80v2KqK6koYMuPDnUjX3U6bDTYcbES4NXsAXQvBHlUkMrTuTlrpaA8M52gdzII1cPGAk2EzRmfru5DK0ZTMVoivOlvAZ5+LvSjzTqrmrUi12sPHV9AbC94cVJmPybC73JfwWyV/lAQyIeXkRJKBiTYrXXtjA5HLmHul4PbrOTi9Owo9OzIKs33AndW2r8LzsPw3N78yeiYTMvsEHtY+UNROdbJCJ/9cyuy/Z68ZaTPyfuXAVosZsx6tWijhSfeI4+wtY001IWO06euEWCH4edBY/SH6jeStvHc1w1JxTrrdakf4HXtfidRHTECqonRQoMGcHFd02O8m+Vi6VBv5kxIRiZQwIcPo2PRdmAv/U2qGqm4cnoJkwC+zwVEVCUtxaaSbi963F3FayC/Ejw9V9CI+Ehoyp6VL/RveNU4tszOQU+kwg3vMMnJwcFmQGg5O7vqHIhK3lgz8jQqnlDPvD5HIyaWajyxF6clCDik6s+OOVmONJun4Vu40zwwMjYFbj2x9bwPKdb0vEYmS9UikzhW21+kklOsWFrItpwaVa0steDPrAa6MTsqYf7wW5ncRrh1OpZq+5m7D500gDyvCr7nuQrksaF/mHcOLSPA5os6YWIxdcVqXfJCCrXFwNYRHmgM3BktSKPc28IFohlm5FJTRWpwRhGUgL62DMUFhaCKfKYEn6VIYBYwwggOleRymBM6gzDwHBcZ0GAG1p+2NsD2oHd/PdWmYjtYjzT+M2iyIzQJ7EWP/69Pi1PL5/mZ7b40zNRRo7QJeiFRj5kP0GghYMuibnTkMi4llI3PeBPeDVBO9UA2MvWrUpyNhy6LQxv25yucyJfKv1av1QmjW0MZulk6LEWQBIdbc6I4vCkXmGyhsoU5a6DQ/Yu7IyInEcUbQN+THD2YWhtaWqGKCg0vfksNDQJW84nhlyC6XWLbx1SEjcjrWmeXCkRa4qkixj12bRJwMkNaWFEGqsyTyi814hTkktUzEDXil9RXjUCVoEtvy+5WoHEwy/WRDOmumPdr7t32468PB5/ubwwiGZzef4HrQ+nx/A3f9sNrw+hKO/ugevW29g3yg404+OG+sCeEgbPm0n8mYlPWyvGimAuOU4Ljd3Urd09NTG/3ntjbTTu1rO+fD/tnF9VmLfarVqX6VTiYr0XG5zJ6IBCtZSPtx9/ik/bZ95I942rocVQNPuM7VN8rmZWWzGRqD7T9zP62bydGz6xQZhsNZGY6LQfS/idkxX2SD7ItIYH3/2bhLpto6tn554bvQrcmqil//KMn4+RSJGRpfw2FaLUSSZ8Uja6noB3ZaN4yJzbOSse268LK6BycWmMI1zLdODFVznF3dskaN62t27ge+v3f5sNHqMWDEWulWKv/oVb5+YOyLT2reALEp+AEr/2XkO13ecw1+ofmHpXn48qrDUiKDNafuoaqqfwC7cOgr
sidebar_class_name: "put api-method"
info_path: docs/openid4vc-api/igrant-io-api-documentation
custom_edit_url: null
---

> **Build this with an AI coding agent.** Install the iGrant.io Agent Skills, then ask your agent to build the integration:
>
> ```bash
> npx skills add L3-iGrant/skills
> ```


import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";

<h1 className={"openapi__heading"}>Update admin avatar image</h1>

<MethodEndpoint method={"put"} path={"/v2/onboard/admin/avatarimage"}></MethodEndpoint>



Updates the avatar image of the admin that owns the access token. Send the image as `multipart/form-data` in the `avatarimage` field.

## Request

<MimeTabs className={"openapi-tabs__mime"}><TabItem label={"multipart/form-data"} value={"multipart/form-data-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3><strong className={"openapi-schema__required"}>required</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"avatarimage"} required={true} schemaName={"binary"} qualifierMessage={undefined} schema={{"type":"string","format":"binary","description":"The new avatar image."}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

The service updated the avatar image.

</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>organisationAdmin</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","format":"","example":"","description":""}}></SchemaItem><SchemaItem collapsible={false} name={"email"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Email"}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Name"}}></SchemaItem><SchemaItem collapsible={false} name={"avatarImageId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Avatar image ID"}}></SchemaItem><SchemaItem collapsible={false} name={"avatarImageUrl"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Avatar image Url"}}></SchemaItem><SchemaItem collapsible={false} name={"lastVisited"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Last visited date time"}}></SchemaItem><SchemaItem collapsible={false} name={"roleId"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Role ID"}}></SchemaItem><SchemaItem collapsible={false} name={"roleName"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Role name"}}></SchemaItem><SchemaItem collapsible={false} name={"phone"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Admin's phone number"}}></SchemaItem><SchemaItem collapsible={false} name={"imageId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Unique identifier for the admin's image"}}></SchemaItem><SchemaItem collapsible={false} name={"imageUrl"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"URL to the admin's image"}}></SchemaItem><SchemaItem collapsible={false} name={"externalId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"External identifier for the admin"}}></SchemaItem><SchemaItem collapsible={false} name={"identityProviderId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identity provider ID"}}></SchemaItem><SchemaItem collapsible={false} name={"organizationId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Unique identifier for the organization"}}></SchemaItem><SchemaItem collapsible={false} name={"organizationName"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Name of the organization"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"organisationAdmin\": {\n    \"id\": \"\",\n    \"email\": \"string\",\n    \"name\": \"string\",\n    \"avatarImageId\": \"string\",\n    \"avatarImageUrl\": \"string\",\n    \"lastVisited\": \"string\",\n    \"roleId\": 0,\n    \"roleName\": \"string\",\n    \"phone\": \"string\",\n    \"imageId\": \"string\",\n    \"imageUrl\": \"string\",\n    \"externalId\": \"string\",\n    \"identityProviderId\": \"string\",\n    \"organizationId\": \"string\",\n    \"organizationName\": \"string\"\n  }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"401"} value={"401"}><div>

Unauthorized

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"500"} value={"500"}><div>

Internal server error

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
      