Skip to content

Commit

Permalink
[docs\endpoints.md] Add method update() to User class section
Browse files Browse the repository at this point in the history
  • Loading branch information
VerifiedJoseph committed Nov 19, 2021
1 parent 824d5ba commit f406266
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,12 @@ Create a user
create(string $name, string $password, bool $admin = false): stdClass
```

Update a user

```PHP
update(int $id, string $name, string $password = '', bool $admin = false): stdClass
```

Delete a user

```PHP
Expand Down

0 comments on commit f406266

Please # to comment.