內容簡介
JSON API DELETE USER 外掛是在 JSON API Plugin 中增加一個新控制器,使用者可以刪除帶有 meta data 的使用者。
文件說明
您需要創建一個 nonce ,才能刪除使用者,可以透過 http://localhost/api/get_nonce/?controller=user&method=delete_user_with_meta 呼叫並獲得。
您可以使用 ‘nonce’ 值來刪除使用者。
= 方法: delete_user_with_meta =
您可以在 example.php 檔案中查找範例,以了解如何透過 curl 刪除使用者。
http://localhost/wordpress/api/user/[email protected]
外掛標籤
開發者團隊
原文外掛簡介
JSON API DELETE USER extends the JSON API Plugin with a new Controller to delete user with meta data.
Documentation
You need to create nonce to delete user, nonce can be created by calling http://localhost/api/get_nonce/?controller=user&method=delete_user_with_meta
You can then use ‘nonce’ value to delete user.
= Method: delete_user_with_meta=
You can find example.php file to understand delete user api call via curl.
http://localhost/wordpress/api/user/[email protected]
