DELETE v1/bunits/{bunitId}/consumers/{consumerId}?deleteAssociations={deleteAssociations}&unassignSecondaryDataSources={unassignSecondaryDataSources}&deletionComment={deletionComment}
Delete a consumption unit
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
The ID of the business unit the consumption unit belongs to | integer |
Required |
consumerId |
The ID of the consumption unit to delete | integer |
Required |
deleteAssociations |
If the consumption unit is related to a backup node, any scheduled associated with the backup node will be deleted on the IBM Storage Protect server. Default is true | boolean |
Default value is True |
unassignSecondaryDataSources |
If the consumption unit has assigned secondary data-sources, e.g. a hypervisor with VMs assigned as consumption units themselves, deletion of the consumption unit will normally be prevented. Inclusion of this parameter (value: true) triggers any assigned secondary data-sources to be unassigned after which the primary data-source can be unassigned. Default is false | boolean |
Default value is False |
deletionComment |
A comment with information about why the consumption unit is being manually deleted | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
None.