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

RequirementDetails
Service-level access tokenRequired with the customer:w scope.
User extIdThe external customer identifier returned during customer creation. The path parameter uses UUID format.
Target statusChoose 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 statusMeaningHandling
204 No ContentThe request succeeded, including when the status already matched.Record successful completion in your application.
400 Bad RequestInvalid request.Check the request against the required body and supported status values.
401 UnauthorizedValid authentication is required.Check the service-level access token.
403 ForbiddenThe required scope is missing.Check that the token has customer:w.
404 Not FoundCustomer 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 extId stored during customer creation.
  • Your request includes a status of ACTIVE or INACTIVE.
  • Your response handling accepts 204 No Content without parsing a JSON body.
  • Your application treats an already-matching status as a successful request.

Related API Reference

Related Guides


Did this page help you?