Skip to content

Commit 0292c32

Browse files
committed
DOC-5464 RS: Fixed role_uids type in LDAP mapping REST API examples
1 parent 40fc167 commit 0292c32

File tree

3 files changed

+15
-15
lines changed
  • content/operate/rs
    • 7.4/references/rest-api/requests/ldap_mappings
    • 7.8/references/rest-api/requests/ldap_mappings
    • references/rest-api/requests/ldap_mappings

3 files changed

+15
-15
lines changed

content/operate/rs/7.4/references/rest-api/requests/ldap_mappings/_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Returns a JSON array of [LDAP mapping objects]({{< relref "/operate/rs/7.4/refer
5959
"name": "Admins",
6060
"dn": "OU=ops.group,DC=redislabs,DC=com",
6161
"email": "[email protected]",
62-
"role_uids": ["1"],
62+
"role_uids": [1],
6363
"email_alerts": true,
6464
"bdbs_email_alerts": ["1","2"],
6565
"cluster_email_alerts": true
@@ -116,7 +116,7 @@ Returns an [LDAP mapping object]({{< relref "/operate/rs/7.4/references/rest-api
116116
"name": "Admins",
117117
"dn": "OU=ops.group,DC=redislabs,DC=com",
118118
"email": "[email protected]",
119-
"role_uids": ["1"],
119+
"role_uids": [1],
120120
"email_alerts": true,
121121
"bdbs_email_alerts": ["1","2"],
122122
"cluster_email_alerts": true
@@ -193,7 +193,7 @@ Include an [LDAP mapping object]({{< relref "/operate/rs/7.4/references/rest-api
193193
"name": "Admins",
194194
"dn": "OU=ops,DC=redislabs,DC=com",
195195
"email": "[email protected]",
196-
"role_uids": ["1"],
196+
"role_uids": [1],
197197
"email_alerts": true,
198198
"bdbs_email_alerts": ["1","2"],
199199
"cluster_email_alerts": true
@@ -248,7 +248,7 @@ Create a new LDAP mapping.
248248
"name": "Admins",
249249
"dn": "OU=ops.group,DC=redislabs,DC=com",
250250
"email": "[email protected]",
251-
"role_uids": ["1"]
251+
"role_uids": [1]
252252
}
253253
```
254254

@@ -274,7 +274,7 @@ Include an [LDAP mapping object]({{< relref "/operate/rs/7.4/references/rest-api
274274
"name": "Admins",
275275
"dn": "OU=ops.group,DC=redislabs,DC=com",
276276
"email": "[email protected]",
277-
"role_uids": ["1"]
277+
"role_uids": [1]
278278
}
279279
```
280280

content/operate/rs/7.8/references/rest-api/requests/ldap_mappings/_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Returns a JSON array of [LDAP mapping objects]({{< relref "/operate/rs/7.8/refer
5959
"name": "Admins",
6060
"dn": "OU=ops.group,DC=redislabs,DC=com",
6161
"email": "[email protected]",
62-
"role_uids": ["1"],
62+
"role_uids": [1],
6363
"email_alerts": true,
6464
"bdbs_email_alerts": ["1","2"],
6565
"cluster_email_alerts": true
@@ -116,7 +116,7 @@ Returns an [LDAP mapping object]({{< relref "/operate/rs/7.8/references/rest-api
116116
"name": "Admins",
117117
"dn": "OU=ops.group,DC=redislabs,DC=com",
118118
"email": "[email protected]",
119-
"role_uids": ["1"],
119+
"role_uids": [1],
120120
"email_alerts": true,
121121
"bdbs_email_alerts": ["1","2"],
122122
"cluster_email_alerts": true
@@ -193,7 +193,7 @@ Include an [LDAP mapping object]({{< relref "/operate/rs/7.8/references/rest-api
193193
"name": "Admins",
194194
"dn": "OU=ops,DC=redislabs,DC=com",
195195
"email": "[email protected]",
196-
"role_uids": ["1"],
196+
"role_uids": [1],
197197
"email_alerts": true,
198198
"bdbs_email_alerts": ["1","2"],
199199
"cluster_email_alerts": true
@@ -248,7 +248,7 @@ Create a new LDAP mapping.
248248
"name": "Admins",
249249
"dn": "OU=ops.group,DC=redislabs,DC=com",
250250
"email": "[email protected]",
251-
"role_uids": ["1"]
251+
"role_uids": [1]
252252
}
253253
```
254254

@@ -274,7 +274,7 @@ Include an [LDAP mapping object]({{< relref "/operate/rs/7.8/references/rest-api
274274
"name": "Admins",
275275
"dn": "OU=ops.group,DC=redislabs,DC=com",
276276
"email": "[email protected]",
277-
"role_uids": ["1"]
277+
"role_uids": [1]
278278
}
279279
```
280280

content/operate/rs/references/rest-api/requests/ldap_mappings/_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Returns a JSON array of [LDAP mapping objects]({{< relref "/operate/rs/reference
5858
"name": "Admins",
5959
"dn": "OU=ops.group,DC=redislabs,DC=com",
6060
"email": "[email protected]",
61-
"role_uids": ["1"],
61+
"role_uids": [1],
6262
"email_alerts": true,
6363
"bdbs_email_alerts": ["1","2"],
6464
"cluster_email_alerts": true
@@ -115,7 +115,7 @@ Returns an [LDAP mapping object]({{< relref "/operate/rs/references/rest-api/obj
115115
"name": "Admins",
116116
"dn": "OU=ops.group,DC=redislabs,DC=com",
117117
"email": "[email protected]",
118-
"role_uids": ["1"],
118+
"role_uids": [1],
119119
"email_alerts": true,
120120
"bdbs_email_alerts": ["1","2"],
121121
"cluster_email_alerts": true
@@ -192,7 +192,7 @@ Include an [LDAP mapping object]({{< relref "/operate/rs/references/rest-api/obj
192192
"name": "Admins",
193193
"dn": "OU=ops,DC=redislabs,DC=com",
194194
"email": "[email protected]",
195-
"role_uids": ["1"],
195+
"role_uids": [1],
196196
"email_alerts": true,
197197
"bdbs_email_alerts": ["1","2"],
198198
"cluster_email_alerts": true
@@ -247,7 +247,7 @@ Create a new LDAP mapping.
247247
"name": "Admins",
248248
"dn": "OU=ops.group,DC=redislabs,DC=com",
249249
"email": "[email protected]",
250-
"role_uids": ["1"]
250+
"role_uids": [1]
251251
}
252252
```
253253

@@ -273,7 +273,7 @@ Include an [LDAP mapping object]({{< relref "/operate/rs/references/rest-api/obj
273273
"name": "Admins",
274274
"dn": "OU=ops.group,DC=redislabs,DC=com",
275275
"email": "[email protected]",
276-
"role_uids": ["1"]
276+
"role_uids": [1]
277277
}
278278
```
279279

0 commit comments

Comments
 (0)