---
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: eJzlV1Fv4jgQ/iuWX66VINBuVzpVq9VR6J5y12urpbQPq0qYxIC3iZ2zHSiL+O83Y4eQQNpF93TS7cPWODPj8Tcz34zXNOYm0iKzQkl6SUdZzCw3xM45YQtmmSYiZTNO1NTvxamQsGKWqKUs5KKIG1iqFy4DMuQydttejxkyTvPEioxp25kqnbbhBDYmzgwnY3+KEx6TqeBJHNAWVRnXDH0KY/AqUnIqZt63HnrQc0ogp/nfOTf2SsUrerl2P4XmoGN1zluoaLm0+KnBCdw20ZynbmVXGYez1OQ7j2xh2tv6RitO0ucWzTT6ZwU3qFj9uLNjrBZyBnbwOAYu0ImQTK9gpw75A6Ag+bIGd0A37h96YTIljT/pvNvFP4f6huuFiDjJHUTxQfgQ0goWLMsSETl8O98NWnkPiPptlZ4xKYxTdrFoUrHCJrhxdyDcoq9tqWxbSBeCCTMgN2WJ4XXEJUsboBbxuwjDmr+yNHNnHwBNAU64okiabNRFr50YyDs3fip+i1Ig7SEPEfGw0dO6Wq9aYOFgz8JIH+FozQRqgI2EGfsojLD8CB9uQJgsvDTB5CFW+MtoldRvISB/ZlwfmPgKgoX7qHN7FGROSRa4ZXMlj9BxGfSLIU6cyDydgDegLo4FfCQF0AURMdSBAK7RBFJnx2tg2lfx1uZRIRh9vQHua7bCXy3XkiXHOHddyL7pnnPLfbOre60WsNbHGA4LHZIVSkWwfCX/KGn236NXtbRv+bh0QKltj6lb22yZ8KJ7hnaOprEqm3Ctle6rmCND4HpQOR1Y5n3K22k3FUPJOBfd7qbBfMPddyR1xWLohFluCbQmwMBiRvv77oPPcjtXWvyAG7XonDMIJHqHoh99X/ifQhPKonCwC0JWumP2MAIlw6NcQxnApde0l4k/OS6fN601veJMc90DgN0O3prNDKIzEDNhwfQTSxJuycldxmU4uHjsn8IBIziQ/MUkFHuKuIMeuDlXOLKA3wgWQ5O0szjvKDlRTMcdV8qd6syArqHjxnlWv9uAp6q4F8jlyEd0bm1mLjudGL61WSYCMdNM2kAoipepGwCiiPMIf7xl5mcWhoAFxOYtdeM/7zvyvAN8iHnn02ULexl35jeA2PAoHzG6bbu0V6S8p4KDdnAfkhe+IlgYSEk+3QOCA9GCJXlJKOOanTHxx5A0h9Y34UCLfCpeof0thZ2DsHOJjMkJzCncGbAaxgGHQcYiftoiPJgFe2YvSaH4aaVyjXC0wbnP4wAJsZpgazpxv75sp5Y/nh4O71aZqSH/jdm65y0VPuMQXXOClAi6YkcM/WG0LGSMG8V6EHKqtqzBIscaxXRETZ5lStvfdvEsQyJ+323VE6GaQ3u3KZW2LcgQRiKFhW7xoQB/sYD8FYqg+UpzLeaRa+g3bAITQx9YC2MNAyMJjcmZhKn35M6VZHhKGLw9mhXvYZAujyjL+P4UPbIqUonBxBGGYFZxiTqm1okwGETAkbxF5iqJW+6wBZ6wInFBE1HFvdy4jLEgBnVv2u6+AnAg00QtjQ9ngbTz9ulDnzz2yQnkA6RYeP3whQwHbfgFu/60cHhHzn7tnn1ofyTpQEWddHBTOZP4QdjgtA/sz6VxtLwtJshdwPU86B6EbrlcBsx9DuDKnULXdG7C/vXt8LqNOpvdVL8LJ4IVqygvowemkcl82M+75xfBh+DMjXjK2JTJij/+OVe8KKuPlf1iqDS2/8z7tCgmCwNeJ0uYH85yPy560v9GF+f4kPW0DytWvH/23pJzAAal12t8C8HEudngNkxa2vUnABSkMR99t9qSJPaKF+RS2vfotB/QJxQH6oPtpgcvsrtXQoLJbEX8YGLYVNvZ/Qg5alI8s1PX8N27y5lt7ZbeR1Yw3Y7lXxzLFwv0fftJripO7BO+9xX/R88bVT5hDgLvfi7F/Zc3FUqK9NIYumcYEP4Bu3DoKw==
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>
      