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-asm2.apica.io/v3/private-location/EnableDisable?auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E" --header "Content-Type: application/json" --data-raw "{
\"LocationId\": \"e3966f6c-3f6d-4bef-b1ee-c54e631045e8\",
\"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.