CommitteeClash Documentation
API
Backend
Frontend
Actions
Committee
Leaderboard
Period
Functions
CreatePeriodActionDeletePeriodGetPeriodsUpdatePeriod
Possible-task
Review
Submit-task
App
Components
Lib
Types
FrontendActionsPeriodFunctions

DeletePeriod

Function: DeletePeriod()

function DeletePeriod(id): Promise<Response<void>>

Defined in: src/actions/period.tsx:179

Deletes a period with the specified ID.

Parameters

id

string

The ID of the period to delete.

Returns

Promise<Response<void>>
  • A promise that resolves to a response object indicating success or failure.

CreatePeriodAction

Previous Page

GetPeriods

Next Page

On this page

Function: DeletePeriod()ParametersidReturns