/v1/superadmin/management/finance/bank/settings/soft-delete| Type | Description |
|---|---|
| Bearer Token | Hanya SUPER_ADMIN yang bisa menonaktifkan bank |
| Key | Value |
|---|---|
| Authorization | Bearer {token} |
| Content-Type | application/json |
{
"ids": ["array", "of", "bank", "ids"]
}ids (array of strings/integers, required) - Daftar ID bank yang akan dinonaktifkancurl --location --request PATCH 'https://v1.dev.bukalombok.com/v1/superadmin/management/finace/bank/settings/soft-delete' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ids": [ "de61f36b-6303-4422-8eb4-3fc9f970b1cc", "bank", "ids"]
}'{
"meta": {
"success": true,
"status": 200,
"message": "Berhasil menonaktifkan 1 bank, 2 gagal"
},
"data": {
"success": [
{
"id": "de61f36b-6303-4422-8eb4-3fc9f970b1cc",
"name": "Bank Central Asia (DSD)",
"code": "UUU"
}
],
"failed": [
{
"id": "bank",
"name": "Tidak ditemukan",
"code": "N/A",
"reason": "Bank tidak ditemukan"
},
{
"id": "ids",
"name": "Tidak ditemukan",
"code": "N/A",
"reason": "Bank tidak ditemukan"
}
],
"summary": {
"total": 3,
"success": 1,
"failed": 2
}
}
}