Change status of clients

POST /client/change_status

Headers

application/json

Body

  • ids array[integer] Required
  • status string Required

    Values are active, inactive, lapsed, or potential.

Responses

  • 200 application/json

    OK

POST /client/change_status
curl \
 -X POST https://api-console.logezy.co/v1/client/change_status \
 -H "Accept: string" \
 -H "Content-Type: string" \
 -d '{"ids":[42],"status":"active"}'
Request example
# Headers
Accept: string
Content-Type: string

# Payload
{
  "ids": [
    42
  ],
  "status": "active"
}
Response examples (200)
{
  "status": "success",
  "data": "",
  "message": "Clients status updated successfully."
}