Skip to main content

Deletes inactive users

POST <your-unleash-url>/api/admin/user-admin/inactive/delete

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Deletes all inactive users. An inactive user is a user that has not logged in in the last 180 days

Request

Body

required

idsSchema

  • ids number[] required

    Ids, for instance userid

Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
Body required
{
"ids": [
12,
212
]
}
curl / cURL
curl -L -X POST '<your-unleash-url>/api/admin/user-admin/inactive/delete' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"ids": [
12,
212
]
}'