Delete Security Account
DELETE/v1.1/customer/account/security
This is used to delete an already-created security account.
Request
Query Parameters
accountNumber stringrequired
Account number of the security account which wants to delete.
Responses
- 200
- 401
OK
- */*
- Schema
- Example (from schema)
- example
- Security Account with Existing Balance
Schema
accountNumber string
Security account number
status stringrequired
Possible values: non-empty
, [SUCCESS
, FAILED
]
reason string
Possible values: non-empty
rejectCode number
Find error codes here
{
"accountNumber": "string",
"status": "SUCCESS",
"reason": "string",
"rejectCode": 0
}
{
"status": "SUCCESS",
"accountNumber": "P000189025"
}
{
"status": "FAILED",
"reason": "Acc Cannot be Deleted Since Balance Exist",
"rejectCode": 1,
"accountNumber": "P000284400"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Invalid Token
- Expired Token
Schema
timestamp string
status string
error string
message string
path string
rejectCode string
{
"timestamp": "string",
"status": "string",
"error": "string",
"message": "string",
"path": "string",
"rejectCode": "string"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Invalid Token",
"path": "/api/v1.1/customer/account/security",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.1/customer/account/security",
"rejectCode": "1007"
}
Loading...
Is this page helpful for you?