File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
content/reference/api/hub Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -927,6 +927,34 @@ paths:
927927 " 404 " :
928928 $ref : " #/components/responses/NotFound"
929929
930+ /v2/repositories/{namespace}/{repository}/groups/{group_id} :
931+ parameters :
932+ - $ref : " #/components/parameters/namespace"
933+ - $ref : " #/components/parameters/repository"
934+ - $ref : " #/components/parameters/group_id"
935+ - in : path
936+ name : group_id
937+ required : true
938+ schema :
939+ type : string
940+ description : ID of the group to remove from repository access
941+ delete :
942+ summary : Remove a group (Team) from repository access
943+ description : |
944+ Removes a group's access to a repository. The user must be a repository admin to perform this action.
945+ tags :
946+ - repositories
947+ security :
948+ - bearerAuth : []
949+ responses :
950+ " 204 " :
951+ description : No content
952+ " 400 " :
953+ $ref : " #/components/responses/BadRequest"
954+ " 403 " :
955+ $ref : " #/components/responses/Forbidden"
956+ " 404 " :
957+ $ref : " #/components/responses/NotFound"
930958
931959 /v2/orgs/{org_name}/members :
932960 parameters :
You can’t perform that action at this time.
0 commit comments