Başvuru Sil
Başvuruyu soft delete ile siler.
Endpoint
DELETE /api/v1/applications/\{uuid\}
Authentication
Bu endpoint authentication gerektirir.
Header: Authorization: Bearer \{token\}
Permission
applications.delete- Tüm başvuruları silmeapplications.delete.own- Sadece kendi başvurularını silme
Request
Headers
| Header | Değer | Zorunlu |
|---|---|---|
Authorization | Bearer \{token\} | Evet |
Path Parameters
| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
uuid | string | Evet | Başvuru UUID'si |
Response
Success Response (200 OK)
{
"message": "Application deleted"
}
Error Responses
404 Not Found
{
"message": "Not Found"
}
403 Forbidden
{
"message": "Forbidden"
}
Code Examples
cURL
curl -X DELETE https://api.example.com/api/v1/applications/550e8400-e29b-41d4-a716-446655440001 \
-H "Authorization: Bearer \{token\}"
Notes
- Soft delete kullanılır, kayıt veritabanından silinmez
- Silinen başvurular
with_trashed=trueparametresi ile görüntülenebilir - Silinen başvuru geri yüklenebilir
Related Endpoints
- Başvuru Geri Yükle - Başvuru geri yükle
- Başvuru Detayı - Başvuru detayını getir