Skip to content

Commit 3697e7b

Browse files
authored
Apply suggestions from code review
1 parent fab8ea4 commit 3697e7b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

modules/authorization/proc-sending-request-to-the-rbac-rest-api-by-using-curl.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Enter the xref:ref-rbac-rest-api-endpoints_{context}[API endpoint] to which you
4949
__<body>__::
5050
Enter the JSON body with data that your xref:ref-rbac-rest-api-endpoints_{context}[API endpoint] might need with the HTTP `POST` request.
5151

52-
.Example request to create or update a role
52+
.Example request to create a role
5353
[source,subs="+attributes,+quotes"]
5454
----
5555
curl -v -H "Content-Type: application/json" \
@@ -62,7 +62,7 @@ curl -v -H "Content-Type: application/json" \
6262
}'
6363
----
6464

65-
.Example request to create or update a permission policy
65+
.Example request to create a permission policy
6666
[source,subs="+attributes,+quotes"]
6767
----
6868
curl -v -H "Content-Type: application/json" \
@@ -75,10 +75,9 @@ curl -v -H "Content-Type: application/json" \
7575
}]'
7676
----
7777

78-
.Example request to create or update a condition
78+
.Example request to create a condition
7979
[source,subs="+attributes,+quotes"]
8080
----
81-
8281
curl -v -H "Content-Type: application/json" \
8382
-H "Authorization: Bearer $token" \
8483
-X POST "{my-product-url}/api/permission/roles/conditions" \

0 commit comments

Comments
 (0)