Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.
Edbergarn edited this page Sep 17, 2019 · 3 revisions

URL POST /api/remove

Remove user from project.

Request

{
    "token": "CB23C3395153D2414CE7FF22F925776DBF72BF309",           /* Login token */
    "username": "Emil",                    /* Username of the person to be removed */
    "project": "time rest"  /* Name of the project where you want to remove a user */
}

Response success

{
    "success": true,        /* If the action was successful */
    "user_removed": true    /* If the username was valid and user was removed */
}

Response failure

{
    "success": false,
    "reason": "Invalid token, invalid username, invalid project"
}
Clone this wiki locally