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\": \"b261173e-1671-448c-9e94-6d78d86ca66e\",
\"IsEnabled\": true
}"
Name | Type |
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.