Delete an extension
delete
                    /ccadmin/v1/extensions/{id}
Delete a previously uploaded, deactivated extension.
Once an extension has been deactivated and deleted, it no longer exists on the system.
                Once an extension has been deactivated and deleted, it no longer exists on the system.
Sample Request:
       DELETE /ccadminui/v1/extensions/{id}    Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    id: string
                    
                    The ID of the extension to delete.
Response
Supported Media Types
                - application/json
204 Response
Operation successful but no data returned.
                
                
                401 Response
Returned if user is not authenticated
                
                
                    Root Schema : deleteExtension_401response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            errorCode(optional): 
            string
            The error code
- 
            message(optional): 
            string
            The localized message describing the error
- 
            status(optional): 
            string
            HTTP status code
Example Response (application/json)
                    {
    "errorCode":"00001000",
    "message":"The user is not authenticated",
    "status":"401"
}404 Response
Returned if extension is not found.
                
                
                    Root Schema : deleteExtension_404response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            message(optional): 
            string
            The localized message describing the error
- 
            status(optional): 
            string
            HTTP status code
Example Response (application/json)
                    {
    "message":"HTTP 404 not found",
    "type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4",
    "status":"404"
}500 Response
Returned if an internal error occurs in the endpoint.
                
                
                    Root Schema : deleteExtension_500response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            errorCode(optional): 
            string
            The Commerce error code. See the table below for information on common codes.
- 
            message(optional): 
            string
            The localized message describing the error
- 
            status(optional): 
            string
            HTTP status code
Example Response (application/json)
                    {
    "errorCode":"000000000",
    "message":"Internal Error",
    "status":"500"
}Default Response
The following internal error codes are thrown by this API when the request fails in Commerce:
The error response:
                
                
                    | Error Code | Description | Possible Fix | 
|---|---|---|
| 91004 | Endpoint internal error | See error messages for more information. | 
| 91017 | Extension not found. | Ensure that a valid extension has been specified. | 
| 91018 | Attempted to delete an active extension. | Ensure that the extension is inactive before you try to delete it. | 
The error response:
Root Schema : errorModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            errors(optional): 
            array  errors
            
            An optional list of errors if multiple errors were encountered
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code
- 
            type(optional): 
            string
            The URI to the HTTP state code definition
Nested Schema : errors
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn optional list of errors if multiple errors were encountered
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code