Accept /group/{group-id}/accept

Accept a group invitation.

Action

POST /group/{group-id}/accept HTTP/1.1
Host: localhost:3000

Permissions

  • An access token (pointing to an user) with user_groups permission is required.
  • The current person must be already invited to the group.

Fields

No fields are required.

Response

If successful :

{
    "success": true
}

Otherwise a relevant error message will be returned.