Skip to content

Delete membership to a group specified by id #26

@j1jlee

Description

@j1jlee

Delete membership to a group specified by id

Delete a membership to a group specified by id.

  • An authenticated user is required for a successful response
  • Only the owner/host of the group or the member themselves is authorized to
    delete the membership of a user to a group
  • Membership record is removed from the database after request
  • Success response includes a message indicating a successful deletion
  • Error response with status 404 is given when a group does not exist with
    the provided id
  • Error response with status 404 is given when a member does not exist with
    the provided id
  • Error response with status 403 is given when a request is made to delete
    another user's membership when the current user is not the group organizer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions