summaryrefslogtreecommitdiff
path: root/doc/api/groups.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-01 14:15:38 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-01 14:15:38 +0000
commit28b374eea4e2890514067ac7875b4c1d252c5cdd (patch)
tree9fe30ae35df4b83cee000e1a0880b390d88d80f0 /doc/api/groups.md
parentc8fd9c521b89b98797cfd6e3a51cae6955129c20 (diff)
downloadgitlab-ce-28b374eea4e2890514067ac7875b4c1d252c5cdd.tar.gz
Add latest changes from gitlab-org/gitlab@15-3-stable-ee
Diffstat (limited to 'doc/api/groups.md')
-rw-r--r--doc/api/groups.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/groups.md b/doc/api/groups.md
index 588ab2a5821..9cbd12e664c 100644
--- a/doc/api/groups.md
+++ b/doc/api/groups.md
@@ -1444,7 +1444,7 @@ response attributes:
| Attribute | Type | Description |
|:-------------------|:-------|:-------------------------------------------------------------------------------------|
| `[].name` | string | Name of the SAML group |
-| `[].access_level` | string | Minimum [access level](members.md#valid-access-levels) for members of the SAML group |
+| `[].access_level` | integer | Minimum [access level](members.md#valid-access-levels) for members of the SAML group |
Example request:
@@ -1458,11 +1458,11 @@ Example response:
[
{
"name": "saml-group-1",
- "access_level": "Guest"
+ "access_level": 10
},
{
"name": "saml-group-2",
- "access_level": "Maintainer"
+ "access_level": 40
}
]
```
@@ -1488,7 +1488,7 @@ response attributes:
| Attribute | Type | Description |
|:---------------|:-------|:-------------------------------------------------------------------------------------|
| `name` | string | Name of the SAML group |
-| `access_level` | string | Minimum [access level](members.md#valid-access-levels) for members of the SAML group |
+| `access_level` | integer | Minimum [access level](members.md#valid-access-levels) for members of the SAML group |
Example request:
@@ -1501,7 +1501,7 @@ Example response:
```json
{
"name": "saml-group-1",
-"access_level": "Guest"
+"access_level": 10
}
```
@@ -1519,7 +1519,7 @@ Supported attributes:
|:-------------------|:---------------|:---------|:-------------------------------------------------------------------------------------|
| `id` | integer/string | yes | ID or [URL-encoded path of the group](index.md#namespaced-path-encoding) |
| `saml_group_name` | string | yes | Name of a SAML group |
-| `access_level` | string | yes | Minimum [access level](members.md#valid-access-levels) for members of the SAML group |
+| `access_level` | integer | yes | Minimum [access level](members.md#valid-access-levels) for members of the SAML group |
If successful, returns [`201`](index.md#status-codes) and the following
response attributes:
@@ -1527,7 +1527,7 @@ response attributes:
| Attribute | Type | Description |
|:---------------|:-------|:-------------------------------------------------------------------------------------|
| `name` | string | Name of the SAML group |
-| `access_level` | string | Minimum [access level](members.md#valid-access-levels) for members of the SAML group |
+| `access_level` | integer | Minimum [access level](members.md#valid-access-levels) for members of the SAML group |
Example request:
@@ -1540,7 +1540,7 @@ Example response:
```json
{
"name": "saml-group-1",
-"access_level": "Guest"
+"access_level": 10
}
```