---
id: config-update-digital-wallet-open-id-api-key-sandbox-org
title: "Bind API key to sandbox organisation"
description: "Binds an API key to a sandbox organisation, or binds it back to the main wallet."
sidebar_label: "Bind API key to sandbox organisation"
hide_title: true
hide_table_of_contents: true
api: eJztWltz27YS/isYPCUZWqJlJydRO50mdtojnzbO1HKSJvaMIHIloSYBBgAlqx799zO7AC+6OZ42fWqebJELYO/77YJ3PAWbGFk4qRXv81dSpZYJxV6+HbAbWDKnmWBWqHSsb5k2U6GkFUgcMW3YmMilY2OR3CCtmwHLhVRsIbIMXOdKXakLUCm9kCkoJycSDNMTerJrYyYVvRvrdNlno7srHqjOzXSQXvE+u+LPnj9/AYfiOHk67k2O4jg+FEfpfw7jK74adRgdKBSDvHBLZp2RaorMIbe0NQq2h+OKszZHHTbcx2teWsfGkGl/wlKXZp1AqLQiYikUmV5C+h2TE1RaqsEypR2DW2kdKdS/kP5xRR95XYGZywTYVM7Bsv8Oh2/ZcRyThoet11ZOlWWCPXmiYPHkCXP6BhSbaFNJHrGFdDP6pWCx1wTSWZZkQubWiz8ShfwfLEdsIiFLKzUZsIVWFthMZ6llboasw8Kf6hd6BtxMOFQPm4mUjWGiDXjqRGQZs04Xli20uZFqGjGr8QlReCbnIiuBdGmgyETi32jkQwFyC3MwS5ZkEpR3upcTB15ktDrtGmjwvJqbXNxApQ9pyTFMqWzlg4lWDm6DUwi3U1leSoqVGShmQFAEpWxhpAPr9zFAvi8ylsJEKokLrbdrYcCCcl7xW28XMJ5pfeN3DBa09/ITESn6j5tpC5Wl2lHJ2g7jxE3gcqcrTIzO66CRzkI2IQMJZuBzCdZtqK92agXgOR59OLhoRfCIzUCkYKJapIoTOVXaEC/CBaIt9xaZ1SzX88Ay3BbSLCsZ8fyJNgth0g4bOGbBYSigB4085VDmYJ3IixETzutF56CChSt3LLIy2K00Bt+G1QN1KpZ2RPK3vUn7tboA45UGtw5U6vfI5ASczKHFZIdHvCYepLzPE60mcnpZpMLBqZxKJ7L3ZKvzAtQgfUmx12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8buD2g+8G0GwTXeUtkVDeqtCiLYtCG/dj4xS1XeXPzaN1b2o74oZK6kWsMHouU5xpskQj0w6YxL95fdMaLO/jlkrZOzByIsU4A3ZS39daNqjag0fnFOCDx9Sh7l74tn2ZWyeFt4+RI6cTndHsVVpKR6BwjQ2QzduHenPsSCCiaaRvh+d4wpKlIekkLfZKS27nhEqFSe0BySuFcmyS6YX1PhE0Tdy+Pzph707Yo7P3w8cRG7we/sQuTg/O3g/ZuxN/2uDinB0+jw+PDp6y/FQn3fz0l/YVtm/waCySyQSUJZ+oIrIQyQxYrxNvmW6xWHQEve5oM+2Gtbb7y+Dk9ZuL1we4ZtXcTDTmRGWlOilr6/GIYzr0Zu/FvePOUecQ1xbaulyoFj90NdX6mmXnvdeGJ7Wq7LcvYr59EfPti5hvX8R8+yLmH/8iJsAPdK9ukQmpMKFTBbkLuPkTn/f8PXy4ZkTs7C+k/eyu3/qYpQ2gryM+09bhDnd3Y2Hh0mSrFT7+XIIhuB/xuTBUxD3Ilhb/T3l/IjIL9xSIR7+FRusx2/vZzU7RKoCrkPPwhQTnEb+h+WItyeq6npERZ/71iT//YOhv1avlWy0honW/AgFj4e6lbfcrby8Rc47D1z05dX/ciAWO1sWC9/kVv+L0HRPFJnWc+PyOZ0JNSzFFer8tYkkRkG2D6r3Fwj8o2E59bAJ8L4u/Kt+z5PvQfv1Qk/s3exfUkNhTo3WuV6vV/wGG+eJ3
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"}>Bind API key to sandbox organisation</h1>

<MethodEndpoint method={"put"} path={"/v2/config/admin/apikey/{apiKeyId}/sandbox-org"}></MethodEndpoint>



Binds an API key to a sandbox organisation, or binds it back to the main wallet.

Send the identifier of the sandbox organisation in the body: `{"sandboxOrgId": "6889e1a4c5b2f30001a3d710"}`. Send an empty string to bind the key back to the main wallet of the organisation. The sandbox organisation must belong to your organisation and must be deployed; if it does not exist, or if it is not deployed, the service gives HTTP 400.

The service signs a **new** token for the key, with the new sandbox organisation in its claims. The `apiKey` field of the response holds this new token. The token that you had before this call stops working, so store the new value and replace the old one in every client.

After the binding, every call that you make with this key runs in the context of that sandbox organisation. The key then reads and writes the credential definitions, the presentation definitions, the webhooks and the keys of that sandbox organisation, and not those of the main wallet. The service takes the sandbox organisation from the key itself, so a request with this key does not need the `X-SandboxOrgId` header, and the service ignores that header.

The service also moves the expiry of the key forward. It sets a new `expiryTimestamp` at the moment of this call plus the current `expiryInDays`, so every call to this operation extends the lifetime of the key.

## Request

<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Path Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"description":"Unique ID of an object","in":"path","name":"apiKeyId","required":true,"schema":{"type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-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 style={{"marginTop":"1rem","marginBottom":"1rem"}}>

The sandbox organisation to bind the API key to.

</div></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"sandboxOrgId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identifier of the sandbox organisation to bind the API key to. Send an empty string, or leave the field out, to bind the key back to the main wallet of the organisation.","example":"6889e1a4c5b2f30001a3d710"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

The service bound the API key and signed a new token. Store the value of the `apiKey` field; the previous token no longer works.

</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={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>apiKey</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

The API key after the binding, with the new token and the new expiry.

</div><SchemaItem collapsible={false} name={"id"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Unique identifier of the API key.","example":"6889e1a4c5b2f30001a3d720"}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Name of the API key. The service does not check this value for uniqueness.","example":"Production issuance key"}}></SchemaItem><SchemaItem collapsible={false} name={"scopes"} required={true} schemaName={"string[]"} qualifierMessage={"**Possible values:** [`config`, `audit`, `service`, `onboard`]"} schema={{"type":"array","description":"Scopes of the API key. Each scope opens a group of endpoints. The service refuses any other value with HTTP 400.","items":{"type":"string","enum":["config","audit","service","onboard"]},"example":["config","service"]}}></SchemaItem><SchemaItem collapsible={false} name={"apiKey"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The signed JSON Web Token. Send it as `Authorization: ApiKey <apiKey>`. The token holds the scopes, the organisation, the organisation administrator and, when the key is bound to a sandbox organisation, the sandbox organisation.","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTY29wZXMiOlsiY29uZmlnIl0..."}}></SchemaItem><SchemaItem collapsible={false} name={"expiryInDays"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Lifetime of the API key in days, counted from the moment the service created or last updated the key. The service uses 30 days when you send `0` or a negative value.","default":30,"example":30}}></SchemaItem><SchemaItem collapsible={false} name={"timestamp"} required={true} schemaName={"date-time"} qualifierMessage={undefined} schema={{"type":"string","format":"date-time","description":"Moment when the service last wrote the API key, in UTC. The service sets this value on create and on every update, including the delete operation.","example":"2026-08-09T10:15:30Z"}}></SchemaItem><SchemaItem collapsible={false} name={"expiryTimestamp"} required={true} schemaName={"date-time"} qualifierMessage={undefined} schema={{"type":"string","format":"date-time","description":"Moment when the API key expires, in UTC.","example":"2026-09-08T10:15:30Z"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [`igrantio`, `aip10`]"} schema={{"type":"string","description":"Type of the API key. The list operation returns only keys of type `igrantio`; these are the keys that you create with this group of operations.","enum":["igrantio","aip10"],"example":"igrantio"}}></SchemaItem><SchemaItem collapsible={false} name={"sandboxOrgId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identifier of the sandbox organisation that the API key is bound to. The field is absent when the key belongs to the main wallet of the organisation.","example":"6889e1a4c5b2f30001a3d710"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>createdBy</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

The user who created the API key, and the moment of creation. The service keeps this as log metadata.

</div><SchemaItem collapsible={false} name={"id"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identifier of the user who created the API key. The value is an empty string for a key created with an API key.","example":"6889e1a4c5b2f30001a3d6e0"}}></SchemaItem><SchemaItem collapsible={false} name={"email"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Email address of the user who created the API key.","example":"admin@example.com"}}></SchemaItem><SchemaItem collapsible={false} name={"at"} required={true} schemaName={"date-time"} qualifierMessage={undefined} schema={{"type":"string","format":"date-time","description":"Moment of creation, in UTC.","example":"2026-08-09T10:15:30Z"}}></SchemaItem></div></details></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"apiKey\": {\n    \"id\": \"6889e1a4c5b2f30001a3d720\",\n    \"name\": \"Production issuance key\",\n    \"scopes\": [\n      \"config\",\n      \"service\"\n    ],\n    \"apiKey\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTY29wZXMiOlsiY29uZmlnIl0...\",\n    \"expiryInDays\": 30,\n    \"timestamp\": \"2026-08-09T10:15:30Z\",\n    \"expiryTimestamp\": \"2026-09-08T10:15:30Z\",\n    \"type\": \"igrantio\",\n    \"sandboxOrgId\": \"6889e1a4c5b2f30001a3d710\",\n    \"createdBy\": {\n      \"id\": \"6889e1a4c5b2f30001a3d6e0\",\n      \"email\": \"admin@example.com\",\n      \"at\": \"2026-08-09T10:15:30Z\"\n    }\n  }\n}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n  \"apiKey\": {\n    \"id\": \"6889e1a4c5b2f30001a3d720\",\n    \"name\": \"Production issuance key\",\n    \"scopes\": [\n      \"config\",\n      \"service\"\n    ],\n    \"apiKey\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTY29wZXMiOlsiY29uZmlnIl0...\",\n    \"expiryInDays\": 30,\n    \"timestamp\": \"2026-08-09T13:20:44Z\",\n    \"expiryTimestamp\": \"2026-09-08T13:20:44Z\",\n    \"type\": \"igrantio\",\n    \"sandboxOrgId\": \"6889e1a4c5b2f30001a3d710\",\n    \"createdBy\": {\n      \"id\": \"6889e1a4c5b2f30001a3d6e0\",\n      \"email\": \"admin@example.com\",\n      \"at\": \"2026-08-09T10:15:30Z\"\n    }\n  }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>

The sandbox organisation of `sandboxOrgId` does not exist in your organisation, or it is not deployed.

</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={"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={"403"} value={"403"}><div>

The caller has no permission for this operation.

</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={"404"} value={"404"}><div>

The API key of `apiKeyId` does not exist, or it is deleted.

</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>

The service could not sign the new token, or could not write the API key.

</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>
      