5. Delete Profile

Delete Profile

POST http://127.0.0.1:12368/profiles/delete/:id

Examples

  • Curl example

curl -X POST http://127.0.0.1:12368/profiles/delete/615d6c4b2a151505fe6ba060
  • Javascript example

const hidemyacc = new Hidemyacc();
const user = await hidemyacc.delete("615d6c4b2a151505fe6ba060");

Success response example

Success response example - Success-Example

HTTP/1.1 200 OK
    {
        "code": 1
    }

Error response

Error response - Error 4xx

Name
Type
Description

401

Not logged into account

Error response example

Error response example - Response (example):

HTTP/1.1 401 Not Authenticated
{
  "code": 0,
  "message": "Unauthorized",
  "data": {}
}

Last updated