Skip to main content
PUT
/
platform
/
admin
/
tenant
/
wallets
/
{id}
/
is_active
Update wallet active status
curl --request PUT \
  --url https://api.example.com/platform/admin/tenant/wallets/{id}/is_active
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Description

Changes the active status of a wallet. Inactive wallets are disabled for operations but remain in the system for historical tracking and reporting purposes.

Input

  • id (long, required) - The wallet tenant identifier (route parameter)
  • value (bool, required) - The new active status (query parameter): true to activate, false to deactivate

Output

Returns a containing:
  • success (bool) - Indicates if the operation succeeded
  • message (string, optional) - Additional information about the operation

Examples

Request
PUT /api/platform/wallets/2048/is-active?value=false
Response (200 OK)
{
  "success": true,
  "message": "Wallet active status updated successfully"
}

Errors

  • 400 Bad Request: Invalid wallet tenant identifier format.
  • 401 Unauthorized: Authentication token is missing or invalid.
  • 403 Forbidden: User does not have permission to update the wallet status.
  • 404 Not Found: Wallet with the specified identifier does not exist.
  • 500 Internal Server Error: An unexpected error occurred while updating the wallet status.

Notes

Deactivating a wallet prevents it from being used for new transactions but does not affect its blockchain state. Both EOA and multisignature wallets can be activated or deactivated.

Path Parameters

id
integer<int64>
required

Identifier of the wallet tenant.

Query Parameters

value
boolean

New active status value (true to activate, false to deactivate).

api-version
string | null

Response

Wallet active status updated successfully.

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 }