diff --git a/perun-openapi/openapi.yml b/perun-openapi/openapi.yml index 00a570bc54..10b98b0bc8 100644 --- a/perun-openapi/openapi.yml +++ b/perun-openapi/openapi.yml @@ -8536,7 +8536,7 @@ paths: sponsor: { type: integer } namespace: { type: string } validityTo: { type: string } - sendActivationLink: { type: boolean } + sendActivationLinks: { type: boolean } groups: { type: array, items: { type: integer }, description: "groups to which should be the created users assigned" } /json/membersManager/createSponsoredMembers: diff --git a/perun-rpc/src/main/java/cz/metacentrum/perun/rpc/methods/MembersManagerMethod.java b/perun-rpc/src/main/java/cz/metacentrum/perun/rpc/methods/MembersManagerMethod.java index 63a6f6a940..3a4e15cd7a 100644 --- a/perun-rpc/src/main/java/cz/metacentrum/perun/rpc/methods/MembersManagerMethod.java +++ b/perun-rpc/src/main/java/cz/metacentrum/perun/rpc/methods/MembersManagerMethod.java @@ -342,7 +342,7 @@ public RichMember call(ApiCaller ac, Deserializer params) throws PerunException * @param namespace String namespace selecting remote system for storing the password * @param sponsor int sponsor's ID * @param validityTo (Optional) String the last day, when the sponsorship is active, yyyy-mm-dd format. - * @param sendActivationLink (optional) boolean if true link for manual activation of every created sponsored member + * @param sendActivationLinks (optional) boolean if true link for manual activation of every created sponsored member * account will be send to the email (can't be used with empty email parameter), default is false * If set to true, a non-empty namespace has to be provided. * @param groups int[] group ids, to which will be the created users assigned (has to be from the given vo)