Delete Own Account
    • Dark
      Light
    • PDF

    Delete Own Account

    • Dark
      Light
    • PDF

    Article summary

    Post
    /api/v1/users.deleteOwnAccount

    Deletes your own user account. Requires the Allow Users to Delete Own Account setting enabled. Access this setting from Administration > Workspace > Settings > Accounts.

    Changelog

    VersionDescription
    3.7.0Added confirmRelinquish to the payload.
    0.67.0Added
    Header parameters
    X-Auth-Token
    stringRequired

    The authenticated user token.

    ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
    X-User-Id
    stringRequired

    The authenticated user ID.

    ExamplerbAXPnMktTFbNpwtJ
    Body parameters
    object
    password
    string Required

    The password of user (encrypted in SHA256).

    ExampleBsNr28znDkG8aeo7W
    confirmRelinquish
    boolean

    Deletes own account even if user is the last owner of a room.

    Responses
    200

    OK

    Success
    {
      "success": true
    }
    object
    success
    boolean
    400

    Bad Request

    Example 1
    {
      "success": false,
      "error": "Body parameter \"password\" is required."
    }
    object
    success
    boolean
    error
    string
    401

    Unauthorized

    Authorization Error
    {
      "status": "error",
      "message": "You must be logged in to do this."
    }
    object
    status
    string
    message
    string

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.