Skip to main content
Removes a member assignment from an event job. This endpoint allows event managers to remove volunteers from job positions when needed.
orgId
string
required
The organization ID that owns the event
eventId
string
required
The event ID containing the job assignment
assignmentId
string
required
The assignment ID to remove (MongoDB ObjectId of the assignment within the job’s assignments array)

Request

The endpoint requires authentication via Bearer token and the user must have event management permissions for the organization.

Response

success
boolean
Indicates whether the request was successful
message
string
Human-readable message describing the result

Error Responses

404
object
Assignment not found
500
object
Server error during deletion

Example

curl -X DELETE \
  https://api.meridian.study/org-event-management/507f1f77bcf86cd799439011/events/507f191e810c19729de860ea/assignments/507f1f77bcf86cd799439012 \
  -H 'Authorization: Bearer YOUR_TOKEN_HERE'
{
  "success": true,
  "message": "Assignment deleted successfully"
}

Notes

  • The assignment is removed from the job’s assignments array using MongoDB’s pull method
  • This operation is irreversible - the assignment data is permanently removed
  • After deletion, the job’s filled count will decrease, potentially making the job available for new assignments
  • Used in the Event Dashboard’s Jobs Manager when removing a volunteer from a job position