Delete OAuth Application
Permanently delete an OAuth application.
Quick Navigation
Endpoint
DELETE /api/v1/organizations/{org_id}/oauth-applications/{app_id}
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
org_id | integer | Yes | Organization ID |
app_id | integer | Yes | Application ID |
Response
Success (200)
{
"success": true,
"data": {
"message": "OAuth application deleted successfully"
},
"message": "OAuth application deleted successfully"
}
Error (404)
{
"success": false,
"error": {
"code": "application_not_found",
"message": "Application not found"
}
}
Features
- Permanently deletes the application
- All tokens for this application will be invalidated
- Only accessible by organization admins
- Cannot be undone
Example
curl -X DELETE "https://api.rivergen.com/api/v1/organizations/1/oauth-applications/1" \
-H "Authorization: Bearer <access_token>"
Related Endpoints
- Revoke Application - Revoke application (reversible)
- List Applications - List all applications