mod_http_admin_api/openapi.yaml
changeset 5891 2aa66e928aa0
parent 5297 f60287bba62c
child 5892 432efc39572f
--- a/mod_http_admin_api/openapi.yaml	Tue Apr 16 13:03:39 2024 +0100
+++ b/mod_http_admin_api/openapi.yaml	Tue Apr 16 14:15:16 2024 +0100
@@ -586,6 +586,13 @@
           items:
             type: string
             description: "Group ID"
+        roles:
+          type: array
+          nullable: true
+          description: "List of roles the new account should have (primary role first)"
+          items:
+            type: string
+            description: "Role name"
     NewGroupInvite:
       type: object
       properties:
@@ -601,6 +608,13 @@
           description: "IDs of existing group to add the new accounts to"
         group_options:
           $ref: '#/components/schemas/NewGroup'
+        roles:
+          type: array
+          nullable: true
+          description: "List of roles the new accounts should have (primary role first)"
+          items:
+            type: string
+            description: "Role name"
     NewResetInvite:
       type: object
       properties: