File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ http(s)://<em>hostname</em>/api/v3
1717
1818## Promote an ordinary user to a site administrator
1919
20- PUT /user /:username/site_admin
20+ PUT /users /:username/site_admin
2121
2222<%= fetch_content(: put_content_length ) %>
2323
@@ -27,7 +27,7 @@ http(s)://<em>hostname</em>/api/v3
2727
2828## Demote a site administrator to an ordinary user
2929
30- DELETE /user /:username/site_admin
30+ DELETE /users /:username/site_admin
3131
3232You can demote any user account except your own.
3333
@@ -37,7 +37,7 @@ You can demote any user account except your own.
3737
3838## Suspend a user
3939
40- PUT /user /:username/suspended
40+ PUT /users /:username/suspended
4141
4242You can suspend any user account except your own.
4343
@@ -49,7 +49,7 @@ You can suspend any user account except your own.
4949
5050## Unsuspend a user
5151
52- DELETE /user /:username/suspended
52+ DELETE /users /:username/suspended
5353
5454### Response
5555
You can’t perform that action at this time.
0 commit comments