PUT   private-location/EnableDisable

Enables or disables a private location for the current customer.

Remarks

Use GET private locations route to get the list of private locations and values applicable for location_id.


Request example and description

curl --request PUT "https://api-asm1.apica.io/v3/private-location/EnableDisable?auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E" --header "Content-Type: application/json" --data-raw "{
  "LocationId": "e9de5588-2968-4325-bbe4-2f69b514e77f",
  "IsEnabled": true
}"
NameType Required Description
LocationIdGuidYes

Id of private location.

IsEnabledBooleanYes

Indicates whether the private location is enabled.

Response body model example and description

Response indicating the result of the operation.