curl --request PATCH \
--url https://staging.api.us.aptlydone.com/auth/v1/user/bulk-status-update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userIds": [
"58760369-22b0-4b5d-a62b-6f3ef959cc31"
],
"status": "ACTIVE"
}'
{
"statusCode": 200,
"timestamp": "2025-06-25T06:16:48.664Z",
"message": "Success",
"data": {
"total": 10,
"successful": 8,
"failed": 2
}
}
curl --request PATCH \
--url https://staging.api.us.aptlydone.com/auth/v1/user/bulk-status-update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userIds": [
"58760369-22b0-4b5d-a62b-6f3ef959cc31"
],
"status": "ACTIVE"
}'
{
"statusCode": 200,
"timestamp": "2025-06-25T06:16:48.664Z",
"message": "Success",
"data": {
"total": 10,
"successful": 8,
"failed": 2
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Users status updated successfully
The response is of type object
.