feat: allow a user to remove themselves from a team
This commit is contained in:
@ -6167,7 +6167,7 @@ const docTemplate = `{
|
||||
"JWTKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Remove a user from a team. This will also revoke any access this user might have via that team.",
|
||||
"description": "Remove a user from a team. This will also revoke any access this user might have via that team. A user can remove themselves from the team if they are not the last user in the team.",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
|
@ -6158,7 +6158,7 @@
|
||||
"JWTKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Remove a user from a team. This will also revoke any access this user might have via that team.",
|
||||
"description": "Remove a user from a team. This will also revoke any access this user might have via that team. A user can remove themselves from the team if they are not the last user in the team.",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
|
@ -5554,7 +5554,8 @@ paths:
|
||||
/teams/{id}/members/{userID}:
|
||||
delete:
|
||||
description: Remove a user from a team. This will also revoke any access this
|
||||
user might have via that team.
|
||||
user might have via that team. A user can remove themselves from the team
|
||||
if they are not the last user in the team.
|
||||
parameters:
|
||||
- description: Team ID
|
||||
in: path
|
||||
|
Reference in New Issue
Block a user