Update Permissions
Update user Permissions. Use this endpoint to set and revoke superuser and betauser permission.
Path Parameters
- user_id integer required
ID of the user
- application/json
Request Body required
- is_betauser boolean
Beta User Status
- is_superuser boolean
Superuser Status
Responses
- 200
- 401
- 403
- 404
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- first_name string
User's first name
- last_name string
User's last name
- email email
User's email. Should be unique
- password password
Possible values:
>= 8 characters
User's password
{
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"password": "badpassword"
}
User is not authenticated. This means token is either not present or invalid
User is not authorized to retrieve this user ID
User was not found
Invalid body. Check the response for more details.
Something is wrong with the API.
Loading...