Managing User Status
Mark Users active or inactive with organization-level authorization and their linked InsideTracker customer identifier.
Managing User Status
Last substantively updated: October 26, 2026.
Use the Update customer status API to mark a User's linked InsideTracker customer record as ACTIVE or INACTIVE.
Where This Fits
Use this operation after Creating Users, when your application needs to change a User's status. Identify the linked customer record by its stored extId.
This operation requires a service-level token representing your organization. See Authorization and Security for token setup.
Before You Begin
| Requirement | Details |
|---|---|
| Service-level access token | Required with the customer:w scope. |
User extId | The external customer identifier returned during customer creation. The path parameter uses UUID format. |
| Target status | Choose ACTIVE or INACTIVE. |
Update User Status
See Update customer status for request and response details.
PUT /enterprise/customers/sa/v1/customers/{extId}/status
Content-Type: application/json
Authorization: Bearer {service_access_token}Replace {extId} with the stored identifier for the User's linked InsideTracker customer record.
To mark the User inactive, send:
{
"status": "INACTIVE"
}To mark the User active, use the same endpoint with:
{
"status": "ACTIVE"
}The JSON body is required. Its required status field accepts only ACTIVE or INACTIVE.
Handle The Response
A successful request returns 204 No Content. Do not expect a JSON response body.
If the requested status is already the User's current status, the request is treated as a no-op and still returns 204 No Content. A successful response does not distinguish a status change from an already-matching status.
| HTTP status | Meaning | Handling |
|---|---|---|
204 No Content | The request succeeded, including when the status already matched. | Record successful completion in your application. |
400 Bad Request | Invalid request. | Check the request against the required body and supported status values. |
401 Unauthorized | Valid authentication is required. | Check the service-level access token. |
403 Forbidden | The required scope is missing. | Check that the token has customer:w. |
404 Not Found | Customer not found. | Check the stored extId for the intended User. |
Implementation Checklist
- Your backend uses a service-level access token with
customer:w. - Your application uses the
extIdstored during customer creation. - Your request includes a
statusofACTIVEorINACTIVE. - Your response handling accepts
204 No Contentwithout parsing a JSON body. - Your application treats an already-matching status as a successful request.
Related API Reference
Related Guides
Updated about 1 month ago