Skip to main content

Update sandbox organisation cover image

PUT 

/v2/config/sandbox-org/:sandboxOrgId/coverimage

Updates the cover image of one sandbox organisation. Give the sandbox organisation ID in the path and send the image as multipart form data in the coverimage form field.

The service stores the image, sets the new image ID and the new image URL on the sandbox organisation, and sends the change to the wallet of the sandbox organisation when it is deployed.

You cannot update the main wallet through this endpoint. If the given ID is the main wallet, the service gives HTTP 400.

Request​

Path Parameters

    sandboxOrgId stringrequired

    Unique identifier of the sandbox organisation.

Body

required

The cover image to store.

    coverimage binaryrequired

    The cover image file.

Responses​

The service stored the cover image.

Response Headers
    Schema
      sandboxOrg objectrequired

      The sandbox organisation after the update. The service sets coverImageId and coverImageUrl.

      id string

      Unique identifier of the sandbox organisation

      name string

      Display name of the sandbox organisation

      description string

      Human readable description of the sandbox organisation

      openIdDeploymentId string

      Identifier of the associated OpenID deployment

      status integer

      Status code of the sandbox organisation

      ledgerId integer

      Identifier of the associated ledger

      infrastructureProvider string

      Name of the infrastructure provider

      version string

      Version of the sandbox organisation configuration

      role string

      Role of the sandbox organisation in the ecosystem

      trustAnchor string

      Trust anchor identifier or DID

      isWalletProvider boolean

      Indicates whether this sandbox organisation acts as a wallet provider

      secureVault integer

      Identifier of the primary secure vault

      secureVaults integer[]nullable

      Identifiers of the secure vaults that the sandbox organisation uses. The field holds null when the sandbox organisation has no secure vault.

      logoImageId string

      Identifier of the logo image. The field is absent when the sandbox organisation has no logo image.

      coverImageId string

      Identifier of the cover image. The field is absent when the sandbox organisation has no cover image.

      logoImageUrl string

      Public URL for the logo image

      coverImageUrl string

      Public URL for the cover image

      createdAt integer

      Timestamp when the sandbox organisation was created

      updatedAt integer

      Timestamp when the sandbox organisation was last updated

      isMain boolean

      Indicates whether this is the main organisation

    Loading...