-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Change the status of a membership for a group specified by id
Change the status of a membership for a group specified by id.
- An authenticated user is required for a successful response
- Only the owner of the group or a member of the group with a membership
status of "co-host" is authorized to change the status of a membership - Membership record is updated in the database after request
- Success response includes the
idgroupId,memberId, and the new
status - Error response with status 404 is given when a group does not exist with
the providedid - Error response with status 403 is given when changing the status to
"co-host" when the current user is not the group organizer - Error response with status 403 is given when changing the status to
"member" when the current user is not the group organizer
or a co-host - Error response with status 400 is given when changing the status to
"pending" - Error response with status 404 is given when a membership between the user
and group does not exist
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels