Rename Committee

This endpoint allows an admin user to rename a committee.

PUT/Committee/RenameCommittee

Authorization

AuthorizationRequiredBearer <token>

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

In: header

Query Parameters

namestring

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

newNamestring

The new name for the committee. This parameter is required and must not be empty. If the new name is already taken, an error will be returned.

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

Returns the new name of the committee if renamed successfully.

"string"