Raw
1 type: object
2 description: The invite's details.
3 x-schemaName: AdminInvite
4 required:
5 - id
6 - email
7 - accepted
8 - token
9 - expires_at
10 - created_at
11 - updated_at
12 properties:
13 id:
14 type: string
15 title: id
16 description: The invite's ID.
17 email:
18 type: string
19 title: email
20 description: The invite's email.
21 format: email
22 accepted:
23 type: boolean
24 title: accepted
25 description: Whether the invite has been accepted.
26 token:
27 type: string
28 title: token
29 description: The invite's token.
30 expires_at:
31 type: string
32 title: expires_at
33 description: The invite's expiry date.
34 format: date-time
35 metadata:
36 type: object
37 description: The invite's metadata, can hold custom key-value pairs.
38 externalDocs:
39 url: https://docs.medusajs.com/api/admin#manage-metadata
40 description: Learn how to manage metadata
41 created_at:
42 type: string
43 format: date-time
44 title: created_at
45 description: The date the invite was created.
46 updated_at:
47 type: string
48 format: date-time
49 title: updated_at
50 description: The date the invite was updated.
51 rbac_roles:
52 type: array
53 description: The roles of the invited user.
54 x-featureFlag: rbac
55 items:
56 $ref: ./AdminRbacRole.yaml