Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
/rest/{version}/users/{userId}/delete
Descriptor | Value |
---|---|
HTTP Method | DELETE |
Description | Deletes user from system. |
Required Permission | Manage Users |
Version Introduced | 2.6.2 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Sample Call:
Code Block |
---|
curl -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X DELETE http://localhost:8080/threadfix/rest/latest/users/{userId}/delete |
Sample Output:
Code Block |
---|
{ "message": "", "success": true, "responseCode": -1, "object": "REST call to delete user is successful. User: 2" } |
Page Tree | ||
---|---|---|
|