|
1547 | 1547 | { |
1548 | 1548 | "name": "userId", |
1549 | 1549 | "in": "query", |
1550 | | - "description": "Member's unique identifier", |
| 1550 | + "description": "Member's unique identifier (userId)", |
1551 | 1551 | "required": false, |
1552 | 1552 | "style": "form", |
1553 | 1553 | "schema": { |
|
1632 | 1632 | } |
1633 | 1633 | ] |
1634 | 1634 | } |
| 1635 | + }, |
| 1636 | + "/user-groups/members/{memberId}": { |
| 1637 | + "delete": { |
| 1638 | + "tags": [ |
| 1639 | + "UserGroup" |
| 1640 | + ], |
| 1641 | + "summary": "deleteMemberFromUserGroups", |
| 1642 | + "description": "Service to delete a member from every group of a specific product of an institution", |
| 1643 | + "operationId": "deleteMemberFromUserGroupsUsingDELETE", |
| 1644 | + "parameters": [ |
| 1645 | + { |
| 1646 | + "name": "memberId", |
| 1647 | + "in": "path", |
| 1648 | + "description": "Member's unique identifier (userId)", |
| 1649 | + "required": true, |
| 1650 | + "style": "simple", |
| 1651 | + "schema": { |
| 1652 | + "type": "string", |
| 1653 | + "format": "uuid" |
| 1654 | + } |
| 1655 | + }, |
| 1656 | + { |
| 1657 | + "name": "institutionId", |
| 1658 | + "in": "query", |
| 1659 | + "description": "Users group's institutionId", |
| 1660 | + "required": true, |
| 1661 | + "style": "form", |
| 1662 | + "schema": { |
| 1663 | + "type": "string" |
| 1664 | + } |
| 1665 | + }, |
| 1666 | + { |
| 1667 | + "name": "productId", |
| 1668 | + "in": "query", |
| 1669 | + "description": "Users group's productId", |
| 1670 | + "required": true, |
| 1671 | + "style": "form", |
| 1672 | + "schema": { |
| 1673 | + "type": "string" |
| 1674 | + } |
| 1675 | + } |
| 1676 | + ], |
| 1677 | + "responses": { |
| 1678 | + "204": { |
| 1679 | + "description": "No Content" |
| 1680 | + }, |
| 1681 | + "400": { |
| 1682 | + "description": "Bad Request", |
| 1683 | + "content": { |
| 1684 | + "application/problem+json": { |
| 1685 | + "schema": { |
| 1686 | + "$ref": "#/components/schemas/Problem" |
| 1687 | + } |
| 1688 | + } |
| 1689 | + } |
| 1690 | + }, |
| 1691 | + "401": { |
| 1692 | + "description": "Unauthorized", |
| 1693 | + "content": { |
| 1694 | + "application/problem+json": { |
| 1695 | + "schema": { |
| 1696 | + "$ref": "#/components/schemas/Problem" |
| 1697 | + } |
| 1698 | + } |
| 1699 | + } |
| 1700 | + }, |
| 1701 | + "500": { |
| 1702 | + "description": "Internal Server Error", |
| 1703 | + "content": { |
| 1704 | + "application/problem+json": { |
| 1705 | + "schema": { |
| 1706 | + "$ref": "#/components/schemas/Problem" |
| 1707 | + } |
| 1708 | + } |
| 1709 | + } |
| 1710 | + } |
| 1711 | + }, |
| 1712 | + "security": [ |
| 1713 | + { |
| 1714 | + "apiKeyHeader": [ |
| 1715 | + "global" |
| 1716 | + ] |
| 1717 | + } |
| 1718 | + ] |
| 1719 | + } |
| 1720 | + }, |
| 1721 | + "/user-groups/{id}/members/{memberId}": { |
| 1722 | + "delete": { |
| 1723 | + "tags": [ |
| 1724 | + "UserGroup" |
| 1725 | + ], |
| 1726 | + "summary": "deleteMemberFromUserGroup", |
| 1727 | + "description": "Service to delete a member from a specific UserGroup entity", |
| 1728 | + "operationId": "deleteMemberFromUserGroupUsingDELETE", |
| 1729 | + "parameters": [ |
| 1730 | + { |
| 1731 | + "name": "id", |
| 1732 | + "in": "path", |
| 1733 | + "description": "Users group's unique identifier", |
| 1734 | + "required": true, |
| 1735 | + "style": "simple", |
| 1736 | + "schema": { |
| 1737 | + "type": "string" |
| 1738 | + } |
| 1739 | + }, |
| 1740 | + { |
| 1741 | + "name": "memberId", |
| 1742 | + "in": "path", |
| 1743 | + "description": "Member's unique identifier (userId)", |
| 1744 | + "required": true, |
| 1745 | + "style": "simple", |
| 1746 | + "schema": { |
| 1747 | + "type": "string", |
| 1748 | + "format": "uuid" |
| 1749 | + } |
| 1750 | + } |
| 1751 | + ], |
| 1752 | + "responses": { |
| 1753 | + "204": { |
| 1754 | + "description": "No Content" |
| 1755 | + }, |
| 1756 | + "400": { |
| 1757 | + "description": "Bad Request", |
| 1758 | + "content": { |
| 1759 | + "application/problem+json": { |
| 1760 | + "schema": { |
| 1761 | + "$ref": "#/components/schemas/Problem" |
| 1762 | + } |
| 1763 | + } |
| 1764 | + } |
| 1765 | + }, |
| 1766 | + "401": { |
| 1767 | + "description": "Unauthorized", |
| 1768 | + "content": { |
| 1769 | + "application/problem+json": { |
| 1770 | + "schema": { |
| 1771 | + "$ref": "#/components/schemas/Problem" |
| 1772 | + } |
| 1773 | + } |
| 1774 | + } |
| 1775 | + }, |
| 1776 | + "500": { |
| 1777 | + "description": "Internal Server Error", |
| 1778 | + "content": { |
| 1779 | + "application/problem+json": { |
| 1780 | + "schema": { |
| 1781 | + "$ref": "#/components/schemas/Problem" |
| 1782 | + } |
| 1783 | + } |
| 1784 | + } |
| 1785 | + } |
| 1786 | + }, |
| 1787 | + "security": [ |
| 1788 | + { |
| 1789 | + "apiKeyHeader": [ |
| 1790 | + "global" |
| 1791 | + ] |
| 1792 | + } |
| 1793 | + ] |
| 1794 | + } |
1635 | 1795 | } |
1636 | 1796 | }, |
1637 | 1797 | "components": { |
|
0 commit comments