diff --git a/perun-openapi/openapi.yml b/perun-openapi/openapi.yml index 3c8a42fb4a..1f398c9515 100644 --- a/perun-openapi/openapi.yml +++ b/perun-openapi/openapi.yml @@ -9045,6 +9045,22 @@ paths: default: $ref: '#/components/responses/ExceptionResponse' + /urlinjsonout/membersManager/sponsorMember: + post: + tags: + - MembersManager + operationId: sponsorMember + summary: For an existing member, assigns a new sponsor + parameters: + - $ref: '#/components/parameters/memberId' + - $ref: '#/components/parameters/sponsorId' + - $ref: '#/components/parameters/optionalValidityTo' + responses: + '200': + $ref: '#/components/responses/RichMemberResponse' + default: + $ref: '#/components/responses/ExceptionResponse' + /urlinjsonout/membersManager/moveMembership: post: tags: