# Delete a Payment Type

`DELETE /lokta-lms/api/v1/paymenttypes/{paymentTypeId}`

Deletes payment type

## Parameters
- `paymentTypeId` (path, integer, required)

## Responses
- `default`: default response

## Response fields
- `resourceId` (integer)

## Example request (cURL)
```bash
curl -X DELETE \
  'http://localhost:8080/lokta-lms/api/v1/paymenttypes/{paymentTypeId}' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default'
```

## Example response
```json
{
  "resourceId": 1
}
```

Interactive: https://developer.lokta.ai/reference.html#operation/deleteCodePaymentType
