Skip to main content
POST
/
clients
/
update_status
Update client status
curl --request POST \
  --url https://{your-workspace}.neetoinvoice.com/api/external/v1/clients/update_status \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "client_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "status": "active"
}
'
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Body

application/json
client_ids
string<uuid>[]

Array of client IDs to update. Refer to Getting the Client ID section for detailed instructions.

status
enum<string>

New status for the client.

Available options:
active,
archived

Response

204

OK - Request succeeded