Unregistering a repository server¶
Delete a repository server you have registered. It must be unused by IBM Spectrum Protect Plus.

Figure 48 The same action can be taken in the IBM Spectrum Protect Plus web user interface: In the Repository Server pane, click the Delete icon next to the repository server you want to unregister.¶
Method and URI¶
To delete a repository server with {cloudProviderInfoId}
, the request’s method and URI are similar to the following example:
DELETE https://{hostname|IPv4}/api/cloud/{cloudProviderInfoId}
Tip
To get a {cloudProviderInfoId}
value based on its name, follow the instructions in Getting a {cloudProviderInfoId}.
Parameters¶
None.
Data¶
None.
Example¶
Assume that you have a repository server BlueMachines - Spectrum Protect - Dallas 1 and you want to unregister it. You get the {cloudProviderInfoId}
of it: 2. Run the command below.
cloud_provider_info_id = "2"
requests.delete('https://' + spp_ipv4 + '/api/cloud/'
+ cloud_provider_info_id,
headers={...}, params="", data="", verify=...)
Ensure you get a response with the HTTP status of 204 (No Content) and that you no longer see the repository server BlueMachines - Spectrum Protect - Dallas 1.