Remove own login - Requires own password

POST /api/logins/delete

Query parameters

  • iw-build-id string

    build id of the client

  • iw-package-id string

    package id of the client

application/json

Body Required

  • login object
    Hide login attributes Show login attributes object
    • username string
    • password string
    • token string

Responses

  • 200 application/json

    Remove own login - Requires own password

    Hide response attributes Show response attributes object
    • success boolean
    • message string
POST /api/logins/delete
curl \
 --request POST 'https://replace-with-own-host.iw-erp.de/api/logins/delete' \
 --header "x-session-token: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"login":{"username":"string","password":"string","token":"string"}}'
Request examples
{
  "login": {
    "username": "string",
    "password": "string",
    "token": "string"
  }
}
Response examples (200)
{
  "success": true,
  "message": "string"
}