Delete Picklists

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

DEL /v2/epc/picklists/{picklist_ID}

Remote Method

deletePicklist

REST Handler

APIPicklistRestHandler

Apex Remote Service

PCAppHandler

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 Format JSON
Resource URL /services/apexrest/{namespace}/v2/epc/picklists/{picklist_ID}

Example Request

DELETE /v2/epc/picklists/a313h000000rqfRAAQ

Example Result

{
    "epcResponse": {
        "entities": [
            {
                "entity": {
                    "attributes": {
                        "type": "vlocity_cmt__Picklist__c",
                        "url": "/services/data/v52.0/sobjects/vlocity_cmt__Picklist__c/a313h000000rqfRAAQ"
                    },
                    "Id": "a313h000000rqfRAAQ"
                }
            }
        ],
        "overallResult": "success"
    }
}