Deletes a financial unit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:DeleteCostUnit |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OwnerUid |
integer |
Yes |
The ID of the owner of the financial unit. |
2135342 |
| UnitId |
integer |
Yes |
The ID of the financial unit. A value of -1 indicates the root financial unit. |
376348 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. |
Success |
| Data |
object |
The returned data. |
|
| IsSuccess |
boolean |
Indicates whether the operation is complete. |
true |
| OwnerUid |
integer |
The ID of the owner of the financial unit. |
12431 |
| UnitId |
integer |
The ID of the new financial unit. |
123412343 |
| Message |
string |
The error message. |
Successful! |
| RequestId |
string |
The request ID. |
F5B803CF-94D8-43AF-ADB3-D819AAD30E27 |
| Success |
boolean |
Indicates whether the request is successful. |
true |
Examples
Success response
JSON format
{
"Code": "Success",
"Data": {
"IsSuccess": true,
"OwnerUid": 12431,
"UnitId": 123412343
},
"Message": "Successful!",
"RequestId": "F5B803CF-94D8-43AF-ADB3-D819AAD30E27",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.