Delete from members
Deletes one members row for good and returns the row as it was.
Access: Users with the admin role or a higher one may do this.
/members/{id}wordpress_logged_in_{hash}API key · cookierequiredWordPress's logged-in cookie, as a browser holds it after signing in. A request with it must also carry X-WP-Nonce.
X-WP-NonceAPI key · headerrequiredA WordPress REST nonce (wp_create_nonce('wp_rest')) for the cookie's session.
AuthorizationBasic auth · headerrequiredA WordPress user name and one of the user's application passwords.
AuthorizationBearer token (JWT) · headerrequiredA First Identity access token.
idintegerrequiredThe row's id.
The deleted row.
dataMemberrequiredShow propertiesHide properties
idintegeremailstringnamestringplanstringfreeprorolestringguestsubscriberauthoreditoradminAn error, as an RFC 9457 problem document.
typestringrequiredAlways about:blank: code names the problem.
titlestringrequiredThe problem in a few words.
statusintegerrequiredThe HTTP status.
codestringrequiredA stable name for the problem, such as unauthenticated, forbidden, not_found, invalid_input, invalid_query, invalid_json, method_not_allowed, unique_violation or reference_violation.
detailstringrequiredWhat went wrong, for a person.
pointerstringA JSON pointer to the field of the request at fault, when there is one.
An error, as an RFC 9457 problem document.
typestringrequiredAlways about:blank: code names the problem.
titlestringrequiredThe problem in a few words.
statusintegerrequiredThe HTTP status.
codestringrequiredA stable name for the problem, such as unauthenticated, forbidden, not_found, invalid_input, invalid_query, invalid_json, method_not_allowed, unique_violation or reference_violation.
detailstringrequiredWhat went wrong, for a person.
pointerstringA JSON pointer to the field of the request at fault, when there is one.
An error, as an RFC 9457 problem document.
typestringrequiredAlways about:blank: code names the problem.
titlestringrequiredThe problem in a few words.
statusintegerrequiredThe HTTP status.
codestringrequiredA stable name for the problem, such as unauthenticated, forbidden, not_found, invalid_input, invalid_query, invalid_json, method_not_allowed, unique_violation or reference_violation.
detailstringrequiredWhat went wrong, for a person.
pointerstringA JSON pointer to the field of the request at fault, when there is one.
An error, as an RFC 9457 problem document.
typestringrequiredAlways about:blank: code names the problem.
titlestringrequiredThe problem in a few words.
statusintegerrequiredThe HTTP status.
codestringrequiredA stable name for the problem, such as unauthenticated, forbidden, not_found, invalid_input, invalid_query, invalid_json, method_not_allowed, unique_violation or reference_violation.
detailstringrequiredWhat went wrong, for a person.
pointerstringA JSON pointer to the field of the request at fault, when there is one.
An error, as an RFC 9457 problem document.
typestringrequiredAlways about:blank: code names the problem.
titlestringrequiredThe problem in a few words.
statusintegerrequiredThe HTTP status.
codestringrequiredA stable name for the problem, such as unauthenticated, forbidden, not_found, invalid_input, invalid_query, invalid_json, method_not_allowed, unique_violation or reference_violation.
detailstringrequiredWhat went wrong, for a person.
pointerstringA JSON pointer to the field of the request at fault, when there is one.