AnsweredAssumed Answered

How to delete a user completely?

Question asked by Ian Dela Cruz on May 31, 2019
Latest reply on Mar 24, 2020 by Julian Ebeli

Hi everyone! I created a user (student) using API. I want to delete it using API as well but I keep getting an error "The specified resource does not exist.".


Here's the API's I used:


API: POST /v1/accounts/{account_id}/users

const data = {
    "user[name]": name,
    "pseudonym[unique_id]": email,
    "pseudonym[sis_user_id]": email,
    "pseudonym[send_confirmation]": true


API: DELETE /v1/accounts/{account_id}/users/{user_id}


Error when calling DELETE API:
    "errors": [{
        "message": "The specified resource does not exist."


I'm doing this on the test environment. Please help!