Delete Picklists

Delete picklists in Vlocity Product Console by specifying them in the URI.

1DEL /v2/epc/picklists/{picklist_ID}

Remote Method 

1deletePicklist

REST Handler 

1APIPicklistRestHandler

Apex Remote Service 

1PCAppHandler

Package 

Communication (vlocity_cmt)

API Parameters and Response Format 

For API parameter names and descriptions, see the Swagger (OpenAPI) reference documentation for Industries EPC REST APIs.

Resource Information 

Response FormatJSON
Resource URL/services/apexrest/{namespace}/v2/epc/picklists/{picklist_ID}

Example Request 

1DELETE /v2/epc/picklists/a313h000000rqfRAAQ

Example Result 

1{
2    "epcResponse": {
3        "entities": [
4            {
5                "entity": {
6                    "attributes": {
7                        "type": "vlocity_cmt__Picklist__c",
8                        "url": "/services/data/v52.0/sobjects/vlocity_cmt__Picklist__c/a313h000000rqfRAAQ"
9                    },
10                    "Id": "a313h000000rqfRAAQ"
11                }
12            }
13        ],
14        "overallResult": "success"
15    }
16}