Delete Specific Platform
Delete a specific platform by its unique identifier.
Endpoint
DELETE /platform/delete?id=<id>
Authentication
Header | Value |
---|---|
Authorization | Bearer <jwt_token> |
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id | string | ✅ | The unique identifier of the platform to delete |
Example Request
curl -X DELETE 'http://localhost:9000/platform/delete?id=64145ebaedd163d59d52e1dc' \
-H "Authorization: Bearer <jwt_token>"
Response
Success Response (200 OK)
{
"deletePlatformResult.DeletedCount": 1
}
Response Fields
Field | Type | Description |
---|---|---|
deletePlatformResult.DeletedCount | number | Number of platforms successfully deleted (should be 1 if successful) |
Notes
- This operation permanently deletes the platform
- The deletion is irreversible - deleted platforms cannot be recovered
- Ensure no applications are currently using this platform before deletion