Authentication
Create a token
Section titled “Create a token”An organization Owner, Admin, or Auth Admin can create a token from Settings > API tokens in Data Center.
- Select the target organization.
- Choose Create token.
- Enter a descriptive application name and expiration.
- Copy the
dc_live_...value immediately.
The plaintext is displayed once. Butlr stores only a SHA-256 digest. Expiration is required and cannot exceed 365 days.
Send the token
Section titled “Send the token”Authorization: Bearer dc_live_...Send it only from a trusted server-side client over HTTPS. Do not include it in a URL, WebSocket subprotocol, source file, browser bundle, or telemetry field.
Organization boundary
Section titled “Organization boundary”The token row contains the authorized organization ID. Resource authorization is repeated at each route. Supplying a different organization ID does not widen access, and a moved or ambiguously owned sensor fails closed.
Rotate and revoke
Section titled “Rotate and revoke”Before expiration:
- Create a replacement token.
- Update the consuming application’s secret.
- verify the replacement with a low-volume read.
- Revoke the old token from Settings > API tokens.
Revocation and expiration take effect on the next request. A revoked, expired,
or unknown token returns 401 without revealing its lifecycle state.