You do not have permission to join the room. A meaningful ``errcode`` and description error text will be returned. Example reasons for rejection are:
You do not have permission to join the room. A meaningful ``errcode`` and description error text will be returned. Example reasons for rejection are:
- The room is invite-only and the user was not invited.
- The room is invite-only and the user was not invited.
- The user has been banned from the room.
- The user has been banned from the room.
examples:
examples:
@ -119,6 +120,7 @@ paths:
403:
403:
description:|-
description:|-
You do not have permission to invite the user to the room. A meaningful ``errcode`` and description error text will be returned. Example reasons for rejections are:
You do not have permission to invite the user to the room. A meaningful ``errcode`` and description error text will be returned. Example reasons for rejections are:
- The invitee has been banned from the room.
- The invitee has been banned from the room.
- The invitee is already a member of the room.
- The invitee is already a member of the room.
- The inviter is not currently in the room.
- The inviter is not currently in the room.
@ -221,6 +223,7 @@ paths:
403:
403:
description:|-
description:|-
You do not have permission to invite the user to the room. A meaningful ``errcode`` and description error text will be returned. Example reasons for rejections are:
You do not have permission to invite the user to the room. A meaningful ``errcode`` and description error text will be returned. Example reasons for rejections are: