Awesome Support Developer Documentation

Delete A User

Delete a User

Arguments

id Unique identifier for the user.
force Required to be true, as users do not support trashing.
reassign Reassign the deleted user’s posts and links to this user ID.

Required: true


Definition

DELETE /wpas-api/v1/users/<id>

Example Request

$ curl -X DELETE http://demo.getawesomesupport.com/wp-json/wpas-api/v1/users/<id>

 

Share: