Demote

POST v1/volume_collections/id/actions/demote

Description

Release ownership of the specified volume collection. The volumes associated with the volume collection will set to offline and a snapshot will be created, then full control over the volume collection will be transferred to the new owner. This option can be used following a promote to revert the volume collection back to its prior configured state. This operation does not alter the configuration on the new owner itself, but does require the new owner to be running in order to obtain its identity information.

Normal Response Codes

200

HTTP Error Codes

400 401 403 404 409 500 503

Detail Codes

SM_ealready

SM_einval

SM_enoent

SM_ext_trig_sched_not_present

SM_invalid_arg_value

SM_invalid_path_variable

SM_invalid_query_param

SM_limit_hret_snap_group

SM_limit_hret_snap_pool

SM_limit_snap_vol

SM_limit_snapcoll_volcoll

SM_malformed_url

SM_missing_arg

SM_no_action_found

SM_no_assoc_vols

SM_no_method_for_URL_pattern

SM_no_operation_found

SM_no_path_found

SM_no_such_partner

SM_not_owner

SM_partner_offline

SM_repl_no_partner_avail

SM_srv_unreach

SM_too_many

SM_unexpected_arg

SM_unexpected_child

SM_unexpected_query_param

SM_version_name

Request

Parameter Type JSON Type Description Mandatory
id NsObjectID string ID of the demoted volume collection. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'. true
replication_partner_id NsObjectID string ID of the new owner. If invoke_on_upstream_partner is provided, utilize the ID of the current owner i.e. upstream replication partner. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'. true
invoke_on_upstream_partner NsBoolean boolean Invoke demote request on upstream partner. Default: 'false'. Possible values: 'true', 'false'. false

JSON Request


            
            
            {
              "data" : {
                "id":"0700000000000004d3000000000000000000000005",
                "replication_partner_id":"0900000000000004d3000000000000000000000001",
              }
            }
            
        
         

Response

Type:

JSON Response


            
            
            {
            }