GET /invites/:inviteID/decline
Declines the user's invitation, given its invite ID.
- A JWT for a registered user must be supplied in the Authorization field of the request header.
- The token must be supplied in the format
JWT 'token'
- Code: 200 OK
- Content: A success flag
- 400 Bad Request – database validation error
- 401 Unauthorized – no/invalid JWT provided, invite does not belong to you
- 404 Not Found – invite does not exist