Skip to main content
PATCH
/
platform
/
admin
/
blockchains
/
icon
cURL
curl --request PATCH \
  --url https://api.example.com/platform/admin/blockchains/icon \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Query Parameters

api-version
string | null

Body

application/json

Represents the payload required to update the icon associated with a blockchain.

id
integer<int64>

Identifier of the blockchain whose icon should be updated.

Example:

42

base64Icon
string

Base64 encoded representation of the blockchain icon.

Example:

"iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO"

Response

Wrapper for API operation results containing success status, error information, and return value.

isSuccess
boolean

True if the operation completed successfully, false otherwise.

Example:

true

isFailure
boolean

True if the operation failed, false otherwise.

Example:

false

error
object

Error information returned when the operation fails.

Example:
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}
value
object

The result value returned when the operation is successful.

Example:
{ "success": true }