1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-18 23:48:56 +02:00
OpenIntegrations/docs/en/md/VK/Product-properties-management/Delete-product-property.md

46 lines
855 B
Markdown
Raw Normal View History

---
sidebar_position: 4
---
# Delete product property
Deletes the existing product property
2024-07-10 12:58:29 +02:00
`Function DeleteProductProperty(Val Property, Val Parameters = "") Export`
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Property | --prop | String, Number | Property ID |
| Parameters | --auth | Structure Of String | Authorization JSON or path to .json |
Returns: Map Of KeyAndValue - Serialized JSON response from VK
2024-07-10 13:05:58 +02:00
<br/>
2024-07-10 12:58:29 +02:00
```bsl title="Code example"
Parameters = GetVKParameters();
Property = FunctionParameters["VK_PropID"];
Result = OPI_VK.DeleteProductProperty(Property, Parameters);
```
```sh title="CLI command example"
oint vk DeleteProductProperty --prop "648" --auth "GetVKParameters()"
```
```json title="Result"
2024-07-10 13:11:17 +02:00
{
"response": 1
}
```