Delete a Payment Method

delete

/paymentMethod/{paymentMethodId}

Deletes the specified payment method.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

204 Response

The payment method was deleted successfully.

400 Response

Invalid Token

401 Response

Unauthorized

403 Response

Forbidden

404 Response

Not Found

405 Response

Method not Allowed

500 Response

Internal Server Error
Back to Top

Examples

This example shows how to delete a payment method by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see "Use cURL".

curl -X DELETE 'http://hostname:port/brm/paymentMethods/version/paymentMethod/0.0.0.1+-payinfo-cc+238991'

Example of the Response Body

If successful, the response code 200 is returned with no response body.

Back to Top