PATCH /api/admin/users/{user_id}/
Updates specified user attributes and returns the updated user if the requesting user is staff. You cannot update yourself to no longer be an admin or active.
Servers
- /
Path parameters
Name | Type | Required | Description |
---|---|---|---|
user_id |
Integer | Yes |
The id of the user to edit |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
username |
String | No | |
name |
String | No | |
is_active |
Boolean | No |
Designates whether this user should be treated as active. Set this to false instead of deleting accounts. |
password |
String | No | |
is_staff |
Boolean | No |
Designates whether this user is an admin and has access to all workspaces and Baserow's admin areas. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.