Skip to main content

WordPress Users

Provider id: wp-users ยท 6 tool(s).

create_userโ€‹

Create a new WordPress user.

Profiles: full, wp

Parameters

ParameterTypeRequiredDescription
usernamestringyesLogin username.
emailstringyesEmail address.
passwordstringyesPassword.
namestringnoDisplay name.
rolesarraynoRole slugs.
first_namestringnoFirst name.
last_namestringnoLast name.
urlstringnoUser URL / website.
descriptionstringnoBiographical info.
nicknamestringnoNickname.
slugstringnoURL-friendly user slug.
metaobjectnoRegistered user meta fields.

delete_userโ€‹

Delete a WordPress user. WordPress requires reassigning their content to another user ID.

๐Ÿ”ด Destructive โ€” supports a dry_run preview flag.
Profiles: full, wp

Parameters

ParameterTypeRequiredDescription
idintegeryesUser ID to delete.
reassignintegeryesUser ID to reassign the deleted user's content to.

get_meโ€‹

Get the current (authenticated) WordPress user.

Profiles: full, lean, wp

Parameters

No parameters.

get_userโ€‹

Get a single WordPress user by ID.

Profiles: full, lean, wp

Parameters

ParameterTypeRequiredDescription
idintegeryesUser ID.

list_usersโ€‹

List WordPress users with optional search, role filter, and pagination.

Profiles: full, lean, wp

Parameters

ParameterTypeRequiredDescription
searchstringnoSearch term (name, email, login).
rolesstringnoComma-separated role slugs to filter by.
per_pageintegernoItems per page (1-100).
pageintegernoPage number.
orderbystringnoSort field (id, name, registered_date, etc.).
orderstringno

update_userโ€‹

Update an existing WordPress user. Only provided fields change.

Profiles: full, wp

Parameters

ParameterTypeRequiredDescription
idintegeryesUser ID.
emailstringno
passwordstringno
namestringno
rolesarrayno
first_namestringnoFirst name.
last_namestringnoLast name.
urlstringnoUser URL / website.
descriptionstringnoBiographical info.
nicknamestringnoNickname.
slugstringnoURL-friendly user slug.
metaobjectnoRegistered user meta fields.