Modifies one or more cost centers.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
bss:ModifyCostUnit | update | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
| UnitEntityList | array<object> | No | A list of cost centers. | |
object | No | |||
UnitId | integer | Yes | The ID of the cost center. | 2524352 |
NewUnitName | string | Yes | The new name of the cost center. | newTest |
OwnerUid | integer | Yes | The user ID of the cost center owner. | 1321312312 |
Response elements
Parameter | Type | Description | Example |
object | |||
Code | string | The status code. | Success |
Message | string | The error message. | Successful! |
RequestId | string | The request ID. | F5B803CF-94D8-43AF-ADB3-D819AAD30E27 |
Success | boolean | Indicates whether the request was successful. | true |
| Data | array<object> | The returned data. | |
object | |||
IsSuccess | boolean | Indicates whether the operation is successful. | true |
UnitId | integer | The ID of the new cost center. | 356349875 |
OwnerUid | integer | The user ID of the cost center owner. | 823756287 |
Examples
Success response
JSON format
{
"Code": "Success",
"Message": "Successful!",
"RequestId": "F5B803CF-94D8-43AF-ADB3-D819AAD30E27",
"Success": true,
"Data": [
{
"IsSuccess": true,
"UnitId": 356349875,
"OwnerUid": 823756287
}
]
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.