Fix invalid json example in POST access endpoint (remove array)
Bug: Issue 10106
Change-Id: I0f8a33ca57bc79648beea3ac047e1c2d2002217a
diff --git a/Documentation/rest-api-projects.txt b/Documentation/rest-api-projects.txt
index 98a8dc9..27d933f 100644
--- a/Documentation/rest-api-projects.txt
+++ b/Documentation/rest-api-projects.txt
@@ -1085,21 +1085,19 @@
Content-Type: application/json; charset=UTF-8
{
- "remove": [
- {
- "refs/*": {
- "permissions": {
- "read": {
- "rules": {
- "c2ce4749a32ceb82cd6adcce65b8216e12afb41c": {
- "action": "ALLOW"
- }
+ "remove": {
+ "refs/*": {
+ "permissions": {
+ "read": {
+ "rules": {
+ "c2ce4749a32ceb82cd6adcce65b8216e12afb41c": {
+ "action": "ALLOW"
}
}
}
}
}
- ]
+ }
}
----