You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/resources/organization.md
+21
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,33 @@ An organization on the Coder deployment
23
23
24
24
-`description` (String)
25
25
-`display_name` (String) Display name of the organization. Defaults to name.
26
+
-`group_sync` (Block, Optional) (see [below for nested schema](#nestedblock--group_sync))
26
27
-`icon` (String)
28
+
-`role_sync` (Block, Optional) (see [below for nested schema](#nestedblock--role_sync))
27
29
28
30
### Read-Only
29
31
30
32
-`id` (String) Organization ID
31
33
34
+
<aid="nestedblock--group_sync"></a>
35
+
### Nested Schema for `group_sync`
36
+
37
+
Optional:
38
+
39
+
-`auto_create_missing` (Boolean) Controls whether groups will be created if they are missing.
40
+
-`field` (String) The claim field that specifies what groups a user should be in.
41
+
-`mapping` (Map of List of String) A map from OIDC group name to Coder group ID.
42
+
-`regex_filter` (String) A regular expression that will be used to filter the groups returned by the OIDC provider. Any group not matched will be ignored.
43
+
44
+
45
+
<aid="nestedblock--role_sync"></a>
46
+
### Nested Schema for `role_sync`
47
+
48
+
Optional:
49
+
50
+
-`field` (String) The claim field that specifies what organization roles a user should be given.
51
+
-`mapping` (Map of List of String) A map from OIDC group name to Coder organization role.
0 commit comments