Fix promote/demote user doc (#629)

I believe this is just a copy/paste error from the enable/disable section.
This commit is contained in:
Joseph Henrich 2021-04-09 18:54:49 -04:00 committed by GitHub
parent 46d957a367
commit 7499f37cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1691,10 +1691,10 @@ Promotes or demotes the selected user's level of access as an admin in Fleet. Ad
#### Parameters
| Name | Type | In | Description |
| ---- | ------- | ----- | ---------------------------- |
| id | integer | path | **Required**. The user's id. |
| enabled | boolean | body | **Required**. Whether or not the user can access Fleet. |
| Name | Type | In | Description |
| ----- | ------- | ----- | ---------------------------- |
| id | integer | path | **Required**. The user's id. |
| admin | boolean | body | **Required**. Whether or not the user is an admin. |
#### Example