Update sandbox organisation
PUT/v2/config/sandbox-org/:sandboxOrgId
Updates the name and the description of one sandbox organisation. Give the sandbox organisation ID in the path.
The service changes only the fields that you send with a value that is not an empty string. To keep a field, leave it out. The new name must be unique in the organisation.
You cannot update the main wallet through this endpoint. If the given ID is the main wallet, the service gives HTTP 400. If the sandbox organisation is deployed, the service also sends the new name and the new description to its wallet.
Request
Path Parameters
Unique identifier of the sandbox organisation.
- application/json
Body
required
The fields of the sandbox organisation to change.
sandboxOrg objectrequired
The fields of the sandbox organisation to change.
New name of the sandbox organisation. The name must be unique in the organisation. If a different sandbox organisation has the same name, the service gives HTTP 400. An empty string keeps the current name.
New description of the sandbox organisation. An empty string keeps the current description.
Responses
- 200
- 400
- 401
- 404
- 500
The service updated the sandbox organisation.
Response Headers
- application/json
- Schema
- Example (from schema)
- Example
Schema
sandboxOrg objectrequired
The sandbox organisation after the update.
Unique identifier of the sandbox organisation
Display name of the sandbox organisation
Human readable description of the sandbox organisation
Identifier of the associated OpenID deployment
Status code of the sandbox organisation
Identifier of the associated ledger
Name of the infrastructure provider
Version of the sandbox organisation configuration
Role of the sandbox organisation in the ecosystem
Trust anchor identifier or DID
Indicates whether this sandbox organisation acts as a wallet provider
Identifier of the primary secure vault
Identifiers of the secure vaults that the sandbox organisation uses. The field holds null when the sandbox organisation has no secure vault.
Identifier of the logo image. The field is absent when the sandbox organisation has no logo image.
Identifier of the cover image. The field is absent when the sandbox organisation has no cover image.
Public URL for the logo image
Public URL for the cover image
Timestamp when the sandbox organisation was created
Timestamp when the sandbox organisation was last updated
Indicates whether this is the main organisation
{
"sandboxOrg": {
"id": "string",
"name": "string",
"description": "string",
"openIdDeploymentId": "string",
"status": 0,
"ledgerId": 0,
"infrastructureProvider": "string",
"version": "string",
"role": "string",
"trustAnchor": "string",
"isWalletProvider": true,
"secureVault": 0,
"secureVaults": [
0
],
"logoImageId": "string",
"coverImageId": "string",
"logoImageUrl": "string",
"coverImageUrl": "string",
"createdAt": 0,
"updatedAt": 0,
"isMain": true
}
}
{
"sandboxOrg": {
"id": "6889e1a4c5b2f30001a3d710",
"name": "Acme Test Issuer",
"description": "Sandbox organisation for issuance tests",
"openIdDeploymentId": "6889e1a4c5b2f30001a3d711",
"status": 2,
"ledgerId": 0,
"infrastructureProvider": "iGrant",
"version": "1.0.0",
"role": "",
"trustAnchor": "",
"isWalletProvider": false,
"secureVault": 0,
"secureVaults": null,
"logoImageId": "6889e1a4c5b2f30001a3d6f0",
"coverImageId": "6889e1a4c5b2f30001a3d6f1",
"logoImageUrl": "https://demo-api.igrant.io/v2/onboard/image/6889e1a4c5b2f30001a3d6f0/web",
"coverImageUrl": "https://demo-api.igrant.io/v2/onboard/image/6889e1a4c5b2f30001a3d6f1/web",
"createdAt": 1754745764,
"updatedAt": 1754748900,
"isMain": false
}
}
The given ID is the main wallet, a different sandbox organisation has the same name, or the service could not send the change to the wallet of the sandbox organisation.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
The organisation has no sandbox organisation with this ID.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}