User Deletion API

API for deleted user

Overview

The User Deletion API allows authorized users to delete a user from the system. This API requires the user ID of the user to be deleted and is accessible via an HTTP POST request.

Delete a user

POST /api/user/v1/delete

Headers

NameValue

Content-Type*

application/json

Authorization*

Bearer <token>

X-Authenticated-User-token*

<keycloak-access-token>

Body

{
    "request": {
        "userId": "user id to be deleted"
    }
}

Response

{
    "id": "api.user.delete",
    "ver": "v1",
    "ts": "2024-05-20 10:08:56:812+0000",
    "params": {
        "resmsgid": "e413d019f31bcb2d3736b7054f1fd6e2",
        "msgid": "e413d019f31bcb2d3736b7054f1fd6e2",
        "err": null,
        "status": "SUCCESS",
        "errmsg": null
    },
    "responseCode": "OK",
    "result": {
        "response": "SUCCESS"
    }
}

Last updated