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\": \"58259205-4695-44a3-bb10-60efecfea9d5\",
  \"IsEnabled\": true
}"
NameType Required Description
LocationId Guid Yes

Id of private location.

IsEnabled Boolean Yes

Indicates whether the private location is enabled.

Response body model example and description

Response indicating the result of the operation.