Delete Committee

This endpoint allows an admin user to delete a committee with a specified name.

DELETE/Committee/DeleteCommittee

Authorization

AuthorizationRequiredBearer <token>

Authorization header using the Bearer scheme. Example: "Bearer {token}"

In: header

Query Parameters

namestring

The name of the committee to be deleted. This parameter is required and must not be empty. If the committee does not exist, an error will be returned.

curl -X DELETE "https://example.com/Committee/DeleteCommittee?name=%3Cstring%3E" \
  -H "Authorization: Bearer <token>"

Returns a success message if the committee is deleted successfully.

"string"