Skip to content

removeInvite/:_id endpoint still uses legacy addRoute pattern #39199

@NAME-ASHWANIYADAV

Description

@NAME-ASHWANIYADAV

The removeInvite/:_id DELETE endpoint (apps/meteor/app/api/server/v1/invites.ts) still uses the deprecated API.v1.addRoute pattern.

It should be migrated to the new chained .delete() API pattern with AJV validation, consistent with other already-migrated endpoints in the same file (listInvites, findOrCreateInvite).

Files involved

  • apps/meteor/app/api/server/v1/invites.ts
  • packages/rest-typings/src/v1/invites.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featurePull requests that introduces new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions