Skip to main content
PUT
/
platform
/
admin
/
administration
/
chain_explorers
/
update
Updates the API credentials associated with a specific chain explorer provider.
curl --request PUT \
  --url https://api.example.com/platform/admin/administration/chain_explorers/update \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Body

application/json

Payload containing the identifier, API key, and issuer configuration to apply.

Represents the payload required to update chain explorer credentials through the administration API.

id
integer<int64>

Identifier of the chain explorer configuration that should be updated.

Example:

42

apiKey
string

New API key that will be persisted for the specified chain explorer provider.

Example:

"5d12f03f-77fd-4853-bb75-bc9c0a90fcf0"

issuerDefault
boolean

Indicates whether the chain explorer should be marked as the default issuer configuration.

Example:

true

Response

200 - application/json

Returns when the chain explorer credentials are successfully updated.

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.