issues icon indicating copy to clipboard operation
issues copied to clipboard

Remove Channel VIP indicates incorrect descriptions for not having permission to do so

Open gmt2001 opened this issue 3 years ago • 0 comments

Brief description Remove Channel VIP lists HTTP 403 Forbidden as the response code for attempting to remove a channel VIP using a broadcaster_id which does not have permission to do so.

The documentation also states that HTTP 401 Unauthorized is the response if the access token does not match the broadcaster_id.

The documentation, however, states that the user_id may also remove themselves but doesn't indicate which response code would be returned if the access token matches neither the user_id nor the broadcaster_id.

Expected documentation The documentation for the response codes should be updated to reflect that the access token can be for either the user_id or the broadcaster_id and indicate which response code is returned when neither the user_id nor the broadcaster_id match the access token. Ideally, a single response code is used.

Screenshots image

gmt2001 avatar May 05 '23 10:05 gmt2001