Revoke a platform token (disable it without deleting).
Requires: ADMIN or OWNER role in the organization.
Args: org_id: Organization UUID token_id: Token UUID to revoke db: Database session
Returns: Updated token details
Raises: HTTPException: If token not found or doesn’t belong to organization
Platform token (starts with pat_)
Successful Response
Schema for reading platform token details (without the actual token).
Masked preview of the token (e.g., 'pat_abc...xyz')