Skip to content

Commit f4b1aa3

Browse files
Update modules/ROOT/pages/_partials/howto/how-to-create-roles.adoc
Co-authored-by: Tor Colvin <tor.colvin@couchbase.com>
1 parent daf9b8f commit f4b1aa3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/ROOT/pages/_partials/howto/how-to-create-roles.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Create a new role using the {rest-api-admin-role-post--xref} endpoint.
4747
----
4848
$ curl -vX POST "http://localhost:4985/mydatabase/_roles/" -H
4949
"accept: application/json" -H "Content-Type: application/json" -d
50-
'{"name": "Edge1", "collection_access": {"scopename": {"collectionname": {"admin_channels": ["channel1", "channel3"]]}}}}' // <.>
50+
'{"name": "Edge1", "collection_access": {"scopename": {"collectionname": {"admin_channels": ["channel1", "channel3"]}}}}' // <.>
5151
----
5252
<.> Here we add the Edge1 role which grants channel access to channel1 and channel3 in scope scopename and collection collectionname.
5353

0 commit comments

Comments
 (0)