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.

Sample Request:

       DELETE /ccadminui/v1/extensions/{id}    

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

204 Response

Operation successful but no data returned.

401 Response

Returned if user is not authenticated
Body ()
Root Schema : deleteExtension_401response
Type: object
Show Source
Example Response (application/json)
{
    "errorCode":"00001000",
    "message":"The user is not authenticated",
    "status":"401"
}

404 Response

Returned if extension is not found.
Body ()
Root Schema : deleteExtension_404response
Type: object
Show Source
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.
Body ()
Root Schema : deleteExtension_500response
Type: object
Show Source
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:
Error CodeDescriptionPossible Fix
91004Endpoint internal errorSee error messages for more information.
91017Extension not found.Ensure that a valid extension has been specified.
91018Attempted to delete an active extension.Ensure that the extension is inactive before you try to delete it.

The error response:
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top